Skip to content

Commit

Permalink
Update relase.md
Browse files Browse the repository at this point in the history
and patch a li'l bug in update-major.yml
  • Loading branch information
solvaholic committed Jun 21, 2022
1 parent 666f7a5 commit 3953b5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-major.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
# Set up variables.
_tag="${INPUT_TAG:-${GITHUB_REF#refs/tags/}}" # v2.2.0
_major="${MINOR%.*}" # v2
_major="${_tag%%.*}" # v2
_msg="Release ${_tag}"
_curr="$(GITHUB_TOKEN=${{ github.token }} \
gh api /repos/:owner/:repo/releases/latest | \
Expand Down
11 changes: 5 additions & 6 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@


- [ ] Pick the release version, for example `2.3.0`
- [ ] Create a matching branch from `main`, for example `release-2.3.0`
- [ ] Push your branch
- [ ] Did the _Create a draft release_ [workflow] run automatically?
- [ ] Run [_Create a draft release_] to create the release branch and draft.


- [ ] Rename _Unreleased_ section of CHANGELOG.md to release version
Expand All @@ -15,13 +13,14 @@


- [ ] Finalize and publish the [release], which pushes the release tag
- [ ] Did the _Update major tag_ [workflow] run automatically?
- [ ] Did the [_Update major tag_] workflow run automatically?


- [ ] Delete any [branches] you're done with


[_Create a draft release_]: https://github.com/solvaholic/octodns-sync/actions/workflows/release.yml
[_Update major tag_]: https://github.com/solvaholic/octodns-sync/actions/workflows/update-major.yml
[branches]: https://github.com/solvaholic/octodns-sync/branches
[changelog]: https://github.com/solvaholic/octodns-sync/blob/main/docs/CHANGELOG.md
[workflow]: https://github.com/solvaholic/octodns-sync/actions
[release]: https://github.com/solvaholic/octodns-sync/releases
[branches]: https://github.com/solvaholic/octodns-sync/branches

0 comments on commit 3953b5e

Please sign in to comment.