Skip to content

Commit

Permalink
Merge pull request #1027 from Onlineberatung/OB-ReleaseWorkflow
Browse files Browse the repository at this point in the history
chore: release workflow fix version condition
  • Loading branch information
web-mi authored Mar 20, 2024
2 parents 7668e1f + 28c67bd commit f5ddfd3
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 f5ddfd3

Please sign in to comment.