mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-22 19:01:30 +00:00
Fix version
This commit is contained in:
parent
abbc123995
commit
6c542600fa
4 changed files with 4 additions and 6 deletions
|
@ -34,8 +34,8 @@ android {
|
||||||
applicationId "com.nutomic.syncthingandroid"
|
applicationId "com.nutomic.syncthingandroid"
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 26
|
targetSdkVersion 26
|
||||||
versionCode 4128
|
versionCode 4129
|
||||||
versionName "0.9.16"
|
versionName "0.10.0-beta1"
|
||||||
testApplicationId 'com.nutomic.syncthingandroid.test'
|
testApplicationId 'com.nutomic.syncthingandroid.test'
|
||||||
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
|
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
|
||||||
playAccountConfig = playAccountConfigs.defaultAccountConfig
|
playAccountConfig = playAccountConfigs.defaultAccountConfig
|
||||||
|
|
|
@ -78,7 +78,7 @@ NEW_VERSION_CODE=$(($OLD_VERSION_CODE + 1))
|
||||||
sed -i "s/versionCode $OLD_VERSION_CODE/versionCode $NEW_VERSION_CODE/" "app/build.gradle"
|
sed -i "s/versionCode $OLD_VERSION_CODE/versionCode $NEW_VERSION_CODE/" "app/build.gradle"
|
||||||
|
|
||||||
OLD_VERSION_NAME=$(grep "versionName" "app/build.gradle" | awk '{print $2}')
|
OLD_VERSION_NAME=$(grep "versionName" "app/build.gradle" | awk '{print $2}')
|
||||||
sed -i "s/$OLD_VERSION_NAME/\"$1\"/" build.gradle
|
sed -i "s/$OLD_VERSION_NAME/\"$1\"/" "app/build.gradle"
|
||||||
git add "app/build.gradle" "app/src/main/play/en-GB/whatsnew"
|
git add "app/build.gradle" "app/src/main/play/en-GB/whatsnew"
|
||||||
git commit -m "Bumped version to $NEW_VERSION_NAME"
|
git commit -m "Bumped version to $NEW_VERSION_NAME"
|
||||||
git tag ${NEW_VERSION_NAME}
|
git tag ${NEW_VERSION_NAME}
|
||||||
|
|
|
@ -18,8 +18,6 @@ Pushing to Github
|
||||||
git push
|
git push
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
||||||
version=`git describe --tags --abbrev=0`
|
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
|
|
||||||
Push to Google Play
|
Push to Google Play
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit dc42db444b17145b7de9a0d1c56a42b9d64f3dea
|
Subproject commit 5aade9a4a5506e5b71b2a9ab863790dca488700e
|
Loading…
Reference in a new issue