From c99c23cc2e58eec436906e38c75e8d7ab47b6a0c Mon Sep 17 00:00:00 2001 From: Ivo List Date: Thu, 21 Jul 2022 13:56:30 +0200 Subject: [PATCH 1/2] Fix release documentation --- distro/README.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/distro/README.md b/distro/README.md index 028535ca..a82bd035 100644 --- a/distro/README.md +++ b/distro/README.md @@ -1,11 +1,8 @@ -# Package rules_java +# Releasing rules_java -``` -bazel build :relnotes -cat ../bazel-bin/distro/relnotes.txt -tar tzf ../bazel-bin/distro/rules_java-*.tar.gz -``` - -- Create a new release -- Copy/paste relnotes.txt into the notes. Adjust as needed. -- Upload the tar.gz file as an artifact. +1. Update version in [java/defs.bzl](/java/defs.bzl) and merge it +2. Build the release running `bazel build //distro:rules_java-{version}` +3. Prepare release notes running `bazel build //distro:relnotes` +4. Create a new release on gihub +5. Copy/paste the produced `relnotes.txt` into the notes. Adjust as needed. +6. Upload the produced tar.gz file as an artifact. From b39b3617a3d18634d279c3003c2e279694244e4f Mon Sep 17 00:00:00 2001 From: Ivo List Date: Thu, 21 Jul 2022 17:00:04 +0200 Subject: [PATCH 2/2] Update distro/README.md Co-authored-by: JP Simard --- distro/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distro/README.md b/distro/README.md index a82bd035..907948f4 100644 --- a/distro/README.md +++ b/distro/README.md @@ -3,6 +3,6 @@ 1. Update version in [java/defs.bzl](/java/defs.bzl) and merge it 2. Build the release running `bazel build //distro:rules_java-{version}` 3. Prepare release notes running `bazel build //distro:relnotes` -4. Create a new release on gihub +4. Create a new release on GitHub 5. Copy/paste the produced `relnotes.txt` into the notes. Adjust as needed. 6. Upload the produced tar.gz file as an artifact.