Skip to content

Commit

Permalink
chore: release workflow fix version condition
Browse files Browse the repository at this point in the history
  • Loading branch information
web-mi committed Mar 20, 2024
1 parent 7668e1f commit 8be311c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
echo "fs.inotify.max_user_watches=524288" | sudo tee -a /etc/sysctl.conf
npm run test:build
- name: Bump version
if: startsWith(env.BRANCH,'release') == true
if: ${{ env.BRANCH == 'release' }}
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
npm run release
- name: Push changes
if: startsWith(env.BRANCH,'release') == true
if: ${{ env.BRANCH == 'release' }}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 8be311c

Please sign in to comment.