diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..0f81a59 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,18 @@ +# .github/workflows/release.yml +name: Release + +on: + pull_request: + types: closed + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Tag + uses: K-Phoen/semver-release-action@master + with: + release_branch: master + tag_format: "%major%.%minor%.%patch%" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 159bb96..20bcadf 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,12 @@ Nobots +8.x-2.0 +-------------------------------------------------------------------------------- +_Release Date: 2020-05-15_ + +- D8CORE-1644: Dev branch workflow (fbc6f83) +- Update nobots.info.yml (#8) (57b4c6c) + 8.x-1.0 2019-10-30 -------------------------------------------------- - Initial release. diff --git a/README.md b/README.md index 3526cf5..2aff962 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,19 @@ Contribution / Collaboration --- You are welcome to contribute functionality, bug fixes, or documentation to this module. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see [GitHub's article on fork, branch, and pull requests](https://help.github.com/articles/using-pull-requests) + + +Releases +--- + +Steps to build a new release: +- Checkout the latest commit from the `8.x-2.x` branch. +- Create a new branch for the release. +- Commit any necessary changes to the release branch. + - These may include, but are not necessarily limited to: + - Update the version in any `info.yml` files, including in any submodules. + - Update the CHANGELOG to reflect the changes made in the new release. +- Make a PR to merge your release branch into `master` +- Give the PR a semver-compliant label, e.g., (`patch`, `minor`, `major`). This may happen automatically via Github actions (if a labeler action is configured). +- When the PR is merged to `master`, a new tag will be created automatically, bumping the version by the semver label. +- The github action is built from: [semver-release-action](https://github.com/K-Phoen/semver-release-action), and further documentation is available there. diff --git a/nobots.info.yml b/nobots.info.yml index 58201bb..d0a4f7b 100644 --- a/nobots.info.yml +++ b/nobots.info.yml @@ -1,7 +1,6 @@ -name: No Bots +name: 'No Bots' type: module description: 'Blocks (well-behaved) search engine robots from crawling, indexing, or archiving your site.' -version: 8.x-1.0 -core: 8.x -core_version_requirement: ^8 || ^9 +version: 8.x-2.0 +core_version_requirement: '^8.8 || ^9' package: Stanford