Skip to content

Commit

Permalink
update versions in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitwel committed Nov 21, 2023
1 parent 29ef779 commit 9a2a40a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ jobs:
sed -i 's/singleInstancePerTask/singleTask/g' ./android/build/AndroidManifest.xml
sed -i 's/BUILD_VERSION/${{ github.ref_name }}/g' export_presets.cfg
versioncode=$(eval "git tag | grep -v "test" | wc -l")
sed -i "s/BUILD_VERSION_CODE/$versioncode/g" export_presets.cfg
sed -i "s/android:versionCode=\"1\"/android:versionCode=\"$versioncode\"/g" ./android/build/AndroidManifest.xml
sed -i 's/BUILD_VERSION/${{ github.ref_name }}/g' export_presets.cfg
sed -i "s/android:versionName=\"1.0\"/android:versionName=\"${{ github.ref_name }}\"/g" ./android/build/AndroidManifest.xml
- name: export game
id: export
Expand Down

0 comments on commit 9a2a40a

Please sign in to comment.