Try amending last commit for deployment script
By including the version name in the last commit, if that commit references an issue users now know what version number to expect the fix in.
This commit is contained in:
parent
6fa2bbb506
commit
6c8731c17a
|
@ -34,7 +34,8 @@ bundle install
|
||||||
bundle exec fastlane supply --aab app/build/outputs/bundle/release/app-release.aab
|
bundle exec fastlane supply --aab app/build/outputs/bundle/release/app-release.aab
|
||||||
|
|
||||||
git add app/build.gradle ../package.json
|
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 tag "$versionCode"
|
||||||
git push origin HEAD &
|
git push origin HEAD &
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
Loading…
Reference in New Issue
Block a user