release: update instructions

This commit is contained in:
Alex Eagle 2021-11-11 07:02:50 -08:00
parent c891bbcf52
commit 905cbb582f
2 changed files with 4 additions and 5 deletions

View File

@ -17,7 +17,6 @@ pkg_tar(
name = "bazel_lib",
srcs = [
"README.md",
"version.bzl",
"//lib:package_content",
],
extension = "tar.gz",

View File

@ -39,9 +39,9 @@ This means that any usage of `@aspect_bazel_lib` on your system will point to th
## Releasing
1. Update the constant in `version.bzl`
1. `git commit -a -m 'release'`
1. `git tag v$(grep VERSION version.bzl | cut -d'"' -f2)`
1. git push && git push --tags
1. Make sure your git state is at the right place (something like `git fetch; git checkout origin/main`)
1. Determine the next release version, following semver (could automate in the future from changelog)
1. `git tag -a v1.2.3` (will open an editor to put release notes)
1. `git push --tags`
1. Watch the automation run on GitHub actions
1. Update the release page with auto-generated release notes