Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
ci: fix upload sbom on release
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-karwacki-rdx committed Jul 19, 2023
1 parent 1bb2796 commit 6d7fca7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
run: echo "RELEASE_VERSION=$(npx semantic-release --dryRun | grep -oP 'Published release \K.*? ')" >> $GITHUB_ENV
run: |
echo "RELEASE_VERSION=$(npx semantic-release --dryRun | grep -oP 'Published release \K.*? ')" >> $GITHUB_ENV
echo "RELEASE_VERSION $RELEASE_VERSION"
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ module.exports = {
channel: 'alpha',
prerelease: 'alpha',
},
{
name: 'fix-sbom',
channel: 'alpha',
prerelease: 'alpha',
},
{
name: 'api-v2',
channel: 'pre-alpha',
Expand Down

0 comments on commit 6d7fca7

Please sign in to comment.