diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4081fa33..fca50e5b 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 0d4a0afa..e3e4a57e 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.