1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

2 Commits
v2 ... v1.0.4

Author SHA1 Message Date
dff881ee90 Bumping to version 1.0.4 2020-08-31 17:20:07 +02:00
8ce3793ff6 Changing repo status checking strategy, again, again 2020-08-31 16:30:05 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ def task_bump_version():
sys.exit("You must be on the branch master to do that")
git("fetch", "origin", "master")
if git("git", "rev-list", "HEAD...origin/master", "--count") != "0":
if git("rev-parse", "@{u}") != git("merge-base", "@", "@{u}"):
sys.exit("Cannot push a new version, you need to pull first")
git_status = git("status", "--porcelain=1").split("\n")

View File

@ -1 +1 @@
1.0.3
1.0.4