diff --git a/deploy.sh b/deploy.sh index 23c8ec2..915b95e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -34,7 +34,8 @@ bundle install bundle exec fastlane supply --aab app/build/outputs/bundle/release/app-release.aab git add app/build.gradle ../package.json -git commit --no-verify --message "Set versionCode=$versionCode,versionName=$major.$minor" +git commit --amend --message \ + "$(git log -1 --pretty=%B | sed " 1 s/.*/& - $major.$minor/")" git tag "$versionCode" git push origin HEAD & git push --tags