Try amending last commit for deployment script - 1.112

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:
Brandon Presley 2023-01-05 16:35:53 +13:00
parent 6fa2bbb506
commit 7bee8ae732
3 changed files with 5 additions and 4 deletions

View File

@ -41,8 +41,8 @@ android {
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36137
versionName "1.111"
versionCode 36138
versionName "1.112"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {

View File

@ -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

View File

@ -1,6 +1,6 @@
{
"name": "massive",
"version": "1.111",
"version": "1.112",
"private": true,
"license": "GPL-3.0-only",
"scripts": {