Skip to content

Commit

Permalink
fix if
Browse files Browse the repository at this point in the history
  • Loading branch information
rinde committed Apr 2, 2024
1 parent 8ad6372 commit 6210001
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
id: extract_version_bump
shell: bash
run: |
if [ ${{contains( github.event.pull_request.labels.*.name, 'release:major')}} ]; then
if [ ${{contains( github.event.pull_request.labels.*.name, 'release:major')}} = true ]; then
echo "bump_version=major" >> $GITHUB_OUTPUT
elif [ ${{contains( github.event.pull_request.labels.*.name, 'release:minor')}} ]; then
elif [ ${{contains( github.event.pull_request.labels.*.name, 'release:minor')}} = true ]; then
echo "bump_version=minor" >> $GITHUB_OUTPUT
elif [ ${{contains( github.event.pull_request.labels.*.name, 'norelease')}} ]; then
elif [ ${{contains( github.event.pull_request.labels.*.name, 'norelease')}} = true ]; then
echo "bump_version=" >> $GITHUB_OUTPUT
else
echo "bump_version=patch" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 6210001

Please sign in to comment.