Skip to content

Commit 905cbb5

Browse files
committed
release: update instructions
1 parent c891bbc commit 905cbb5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pkg_tar(
1717
name = "bazel_lib",
1818
srcs = [
1919
"README.md",
20-
"version.bzl",
2120
"//lib:package_content",
2221
],
2322
extension = "tar.gz",

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ This means that any usage of `@aspect_bazel_lib` on your system will point to th
3939

4040
## Releasing
4141

42-
1. Update the constant in `version.bzl`
43-
1. `git commit -a -m 'release'`
44-
1. `git tag v$(grep VERSION version.bzl | cut -d'"' -f2)`
45-
1. git push && git push --tags
42+
1. Make sure your git state is at the right place (something like `git fetch; git checkout origin/main`)
43+
1. Determine the next release version, following semver (could automate in the future from changelog)
44+
1. `git tag -a v1.2.3` (will open an editor to put release notes)
45+
1. `git push --tags`
4646
1. Watch the automation run on GitHub actions
4747
1. Update the release page with auto-generated release notes

0 commit comments

Comments
 (0)