From 3351384bede4af17a3f54f08d9df11d10d32b44a Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 3 Oct 2024 15:25:34 -0700 Subject: [PATCH] fix: release missing bazel artifacts --- .github/workflows/release.yml | 3 ++- CONTRIBUTING.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4081fa334..fca50e5bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/download-artifact@v4 with: merge-multiple: true - - run: shasum -a 256 aspect* > SHA256.txt + - run: shasum -a 256 aspect* bazel* > SHA256.txt - name: Prepare workspace snippet run: .github/workflows/install_snippet.sh > release_notes.txt - name: Create GitHub draft release and upload artifacts @@ -27,4 +27,5 @@ jobs: body_path: release_notes.txt files: | aspect* + bazel* SHA256.txt diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0d4a0afab..e3e4a57ee 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,7 +44,8 @@ After this, you should be able to merge your changes without any conflicts in th ## Releasing -1. At the commit to release from, run `./workspace_status.sh | grep STABLE_ASPECT_CLI_BAZELISK_COMPAT_VERSION` +1. Sync your local `main` branch to the commit to release from. + Run `node ./tools/workspace_status.js | grep STABLE_ASPECT_CLI_BAZELISK_COMPAT_VERSION` to determine the current release version. This version follows our monorepo versioning scheme minus the hash so that it is compatible with Bazelisk. See comment in `workspace_status.sh` for more info.