diff --git a/prepare-release.sh b/prepare-release.sh index 0d3b65d56d21..087c3c08fb73 100755 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -74,10 +74,10 @@ fi if [[ "$ANDROID" == "true" ]]; then echo "$PRODUCT_VERSION" > dist-assets/android-version-name.txt - cargo run -q --bin mullvad-version versionCode > dist-assets/android-version-code.txt git commit -S -m "Update android app version to $PRODUCT_VERSION" \ - dist-assets/android-version-name.txt \ - dist-assets/android-version-code.txt + dist-assets/android-version-name.txt + cargo run -q --bin mullvad-version versionCode > dist-assets/android-version-code.txt + git commit -S --amend --no-edit dist-assets/android-version-code.txt fi NEW_TAGS=""