From cde05df1bc8b7a6fa5f2169f89ca0c39fed617e7 Mon Sep 17 00:00:00 2001 From: o9000 Date: Sun, 5 Nov 2017 12:24:46 +0100 Subject: [PATCH] Update release script --- new-release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new-release.py b/new-release.py index 927a0d5..a42d9bb 100755 --- a/new-release.py +++ b/new-release.py @@ -193,4 +193,4 @@ if __name__ == '__main__': print "Does this look correct? [y/n]" choice = raw_input().lower() if choice != "y": - run("git reset HEAD~") + run("git reset --hard HEAD~ ; git tag -d %s ; git tag -d v%s" % (version, version))