diff --git a/README.md b/README.md index be4054e..f95412a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ pip install -r requirements.txt python main.py -## make Android apk +## Make Android apk buildozer -v android debug deploy run diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..8c72528 --- /dev/null +++ b/release.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# save current branch into variable to be able to return to it later +currentBranch=$(git symbolic-ref --short HEAD) +git stash +git checkout master +git pull +git rebase origin/develop + +commitCount=$(git rev-list HEAD --count) + +git tag -a "$commitCount" HEAD -m "Android Release $commitCount" +git push origin master:master --tags +git checkout "$currentBranch" +git stash apply