Skip to content

Commit

Permalink
ci/releasing: Include git sha and refname in release builds (#876)
Browse files Browse the repository at this point in the history
(cherry picked from commit ae83362)
  • Loading branch information
ckamm committed Feb 28, 2024
1 parent e107b28 commit 90ca8ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-verifiable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Verifiable Build
run: |
anchor build --verifiable --docker-image backpackapp/build:v0.28.0 --solana-version 1.16.14 -- --features enable-gpl
anchor build --verifiable --docker-image backpackapp/build:v0.28.0 --solana-version 1.16.14 --env GITHUB_SHA --env GITHUB_REF_NAME -- --features enable-gpl
- name: Generate Checksum
run: |
Expand Down
4 changes: 3 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@

- Do a verifiable build

anchor build --verifiable --solana-version 1.14.13 -- --features enable-gpl
Set GITHUB_SHA and GITHUB_REF_NAME to the release sha1 and tag name.

anchor build --verifiable --docker-image backpackapp/build:v0.28.0 --solana-version 1.16.14 --env GITHUB_SHA --env GITHUB_REF_NAME -- --features enable-gpl

(or wait for github to finish and create the release)

Expand Down

0 comments on commit 90ca8ff

Please sign in to comment.