mirror of
https://codeberg.org/vanous/huafetcher.git
synced 2025-01-10 07:02:03 +01:00
add release script
This commit is contained in:
parent
2afd5692eb
commit
2e85f607ff
@ -23,7 +23,7 @@ pip install -r requirements.txt
|
||||
|
||||
python main.py
|
||||
|
||||
## make Android apk
|
||||
## Make Android apk
|
||||
|
||||
buildozer -v android debug deploy run
|
||||
|
||||
|
15
release.sh
Executable file
15
release.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user