From 28c67bd73479e65d1119b38449ad2a5acc6d75c9 Mon Sep 17 00:00:00 2001 From: Marc Itzenthaler Date: Wed, 20 Mar 2024 21:15:07 +0100 Subject: [PATCH] chore: release workflow fix version condition --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 985deda62..258425f72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 "action@github.com" 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 }}