Merge pull request #703 from cyian-1756/patchPushReminder
patch.py now reminds users to run git push before release.py
This commit is contained in:
commit
543fa4b4b5
5
patch.py
5
patch.py
@ -8,8 +8,8 @@ from hashlib import sha256
|
|||||||
# - update version in a few places
|
# - update version in a few places
|
||||||
# - insert new line in ripme.json with message
|
# - insert new line in ripme.json with message
|
||||||
# - build ripme
|
# - build ripme
|
||||||
# - add the hash of the lastest binary to ripme.json
|
# - add the hash of the latest binary to ripme.json
|
||||||
|
# - commit all changes
|
||||||
message = input('message: ')
|
message = input('message: ')
|
||||||
|
|
||||||
|
|
||||||
@ -89,3 +89,4 @@ update_hash(file_hash)
|
|||||||
subprocess.call(['git', 'add', '-u'])
|
subprocess.call(['git', 'add', '-u'])
|
||||||
subprocess.call(['git', 'commit', '-m', commitMessage])
|
subprocess.call(['git', 'commit', '-m', commitMessage])
|
||||||
subprocess.call(['git', 'tag', nextVersion])
|
subprocess.call(['git', 'tag', nextVersion])
|
||||||
|
print("Remember to run `git push origin master` before release.py")
|
||||||
|
Loading…
Reference in New Issue
Block a user