1
0
Fork 0
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:
Felix Ableitner 2017-10-24 21:43:18 +09:00
parent abbc123995
commit 6c542600fa
4 changed files with 4 additions and 6 deletions

View file

@ -34,8 +34,8 @@ android {
applicationId "com.nutomic.syncthingandroid"
minSdkVersion 14
targetSdkVersion 26
versionCode 4128
versionName "0.9.16"
versionCode 4129
versionName "0.10.0-beta1"
testApplicationId 'com.nutomic.syncthingandroid.test'
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
playAccountConfig = playAccountConfigs.defaultAccountConfig

View file

@ -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"
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 commit -m "Bumped version to $NEW_VERSION_NAME"
git tag ${NEW_VERSION_NAME}

View file

@ -18,8 +18,6 @@ Pushing to Github
git push
git push --tags
version=`git describe --tags --abbrev=0`
echo "
Push to Google Play

@ -1 +1 @@
Subproject commit dc42db444b17145b7de9a0d1c56a42b9d64f3dea
Subproject commit 5aade9a4a5506e5b71b2a9ab863790dca488700e