From 34066ea182ebbe6494eefd8c6c86cc92ebdf82e5 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Mon, 16 Sep 2024 01:14:28 -0400 Subject: [PATCH] fix: version bump in cd --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ef31ed..d7b7e96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,7 +111,7 @@ jobs: echo "VERSION_CODE=$version_code" >> $GITHUB_ENV - name: Commit and push versionCode changes - if: ${{ contains(env.TAG_NAME, 'nightly') || inputs.release_type == 'prerelease' }} + if: ${{ inputs.release_type == '' || inputs.release_type == 'nightly' || inputs.release_type == 'prerelease' }} run: | git config --global user.name 'GitHub Actions' git config --global user.email 'actions@github.com' @@ -119,7 +119,7 @@ jobs: git commit -m "Automated build update" - name: Push changes - if: ${{ contains(env.TAG_NAME, 'nightly') || inputs.release_type == 'prerelease' }} + if: ${{ inputs.release_type == '' || inputs.release_type == 'nightly' || inputs.release_type == 'prerelease' }} uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }}