fix: version bump in cd

This commit is contained in:
Zane Schepke 2024-09-16 01:14:28 -04:00
parent b99b116fdb
commit 34066ea182
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}