Skip to content

Commit

Permalink
fix: Conventional commit version
Browse files Browse the repository at this point in the history
  • Loading branch information
taorepoara authored May 13, 2024
1 parent 61e0756 commit 3b76bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ runs:
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
run: |
npx -p conventional-changelog-conventionalcommits -p semantic-release/git -p semantic-release-export-data -p semantic-release semantic-release $(if [ "${{inputs.dry-run}}" != "false" ]; then echo "--dry-run"; fi) | tee out.log
npx -p conventional-changelog-conventionalcommits@7.0.2 -p semantic-release/git -p semantic-release-export-data -p semantic-release semantic-release $(if [ "${{inputs.dry-run}}" != "false" ]; then echo "--dry-run"; fi) | tee out.log
export NEXT_VERSION=$(grep -i 'next release version is' out.log | sed -E 's/.*next release version is (.+)$/\1/')
echo "version=$NEXT_VERSION" >> $GITHUB_OUTPUT
if [[ "$NEXT_VERSION" -eq "" ]]; then
Expand Down

0 comments on commit 3b76bc5

Please sign in to comment.