Skip to content

Commit

Permalink
fix: resolved wrong bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-deri committed Oct 5, 2023
1 parent ffa0d9e commit b6c620b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/04_release_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ jobs:
# build-number if in dev env and deploy from specific branch
- if: ${{ github.ref_name != 'main' && env.ENVIRONMENT == 'dev'}}
run: |
if $semver == 'new_release' || $semver == 'breaking_change':
if $semver == 'new_release' || $semver == 'breaking_change'
then
echo "⚠️ \"breaking-change\" and \"new-release\" are accepted only with main branch. Setting buildNumber."
fi
echo "SEMVER=buildNumber" >> $GITHUB_ENV
Expand Down

0 comments on commit b6c620b

Please sign in to comment.