From 3cb569840fe5531a308a0d379f5d621119701f71 Mon Sep 17 00:00:00 2001 From: Ivan Barlog Date: Wed, 25 Nov 2026 16:35:30 +0100 Subject: [PATCH] ci(release): list git commit and layer zip SHA-256 in the release notes --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19cbb3d..a70961b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -272,6 +272,11 @@ jobs: npm version "${{ needs.prepare.outputs.package-version }}" --no-git-tag-version npm pack + - name: Compute layer zip checksum + id: checksum + run: | + echo "sha256=$(sha256sum lib/bun-lambda-layer-${{ needs.prepare.outputs.bun-version }}.zip | cut -d ' ' -f 1)" >> "$GITHUB_OUTPUT" + - name: Create GitHub Release uses: softprops/action-gh-release@v3 with: @@ -289,6 +294,12 @@ jobs: The layer and the customer-managed runtime are public in `eu-north-1`, `eu-central-1`, `eu-west-1`, `us-east-1` and `us-west-2`. ARNs are in `artifacts.json`. Runtime aliases: ``, `` (the `BunFunction` default, follows patch releases), `` and `latest`. + ### Verification + - Git commit: `${{ github.sha }}` + - Layer zip SHA-256: `${{ steps.checksum.outputs.sha256 }}` + + The description of every published layer version carries the first 12 characters of the git commit and the first 16 of the zip SHA-256. + ### Assets - `bun-lambda-layer-${{ needs.prepare.outputs.bun-version }}.zip` - the layer zip (Linux ARM64) that was published - `artifacts.json` - published layer and runtime ARNs per region