Skip to content

Commit

Permalink
fix: check commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Avivbens committed Apr 18, 2024
1 parent da4c609 commit f097dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
id: extract-version
run: |
GITHUB_REF=${{ github.head_ref }}
NEXT_VERSION=$(npx semantic-release --no-ci --dry-run --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator --branches ${{ github.ref }} \
NEXT_VERSION=$(npx semantic-release --no-ci --dry-run --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator --branches ${{ github.head_ref }} \
| grep "The next release version is" \
| node -e "console.log(require('fs').readFileSync(0, 'utf-8').match(/The next release version is (\d+\.\d+\.\d+)/)?.[1] ?? '')")
echo "::set-output name=version::$NEXT_VERSION"
Expand Down

0 comments on commit f097dc0

Please sign in to comment.