Skip to content

Commit

Permalink
Merge pull request #128 from radixdlt/fix-sbom-release
Browse files Browse the repository at this point in the history
[DO-1618] Fix upload SBOM on release
  • Loading branch information
marek-karwacki-rdx authored Jul 19, 2023
2 parents a9aec47 + f175427 commit c3e37b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
run: |
npx semantic-release | tee out
echo "RELEASE_VERSION=$(grep 'Created tag ' out | awk -F 'Created tag ' '{print $2}')" >> $GITHUB_ENV
# Snyk SBOM
- uses: radixdlt/public-iac-resuable-artifacts/fetch-secrets@main
Expand All @@ -48,3 +50,4 @@ jobs:
with:
files: sbom.json
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ env.RELEASE_VERSION }}

0 comments on commit c3e37b0

Please sign in to comment.