diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 371e73f..aaa55d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,6 +50,7 @@ jobs: # Google Play requires version code (int) to increment on every release - name: 🔧 - Prepare release + if: steps.semantic-release.outputs.new_release_published == 'true' run: | versionCode=$(date '+%Y%m%d') sed -i -e "s/version: .*/version: ${{ steps.semantic-release.outputs.new_release_version }}+$versionCode/g" pubspec.yaml