Adde dHTTP version check for fdroid.

This commit is contained in:
Amine Bou 2018-05-25 22:22:32 +02:00
parent fcebf916d2
commit e11dee220f
3 changed files with 16 additions and 8 deletions

4
.gitignore vendored
View File

@ -216,4 +216,6 @@ gradle-app.setting
release/
crowdin.properties
crowdin.properties
publish-version.sh

10
build.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
BASE_VERSION="v1.6"
TODAYS_VERSION="1"
VERSION="${BASE_VERSION}.$(date '+%y%m%j')$TODAYS_VERSION"
./version.sh ${VERSION} $@
./publish-version.sh ${VERSION} $@

View File

@ -1,14 +1,10 @@
#!/bin/bash
# You can pass --force as first parameter to force push and tag creation.
BASE_VERSION="v1.6"
TODAYS_VERSION="1"
VERSION="${BASE_VERSION}.$(date '+%y%m%j')$TODAYS_VERSION"
echo "Creating tag $1"
echo "Creating tag $VERSION"
git tag $VERSION $1
git tag $1 $@
echo "Pushing tag"
git push origin $VERSION $1
git push origin $1 $@