aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrank Fischer <frank-fischer@shadow-soft.de>2015-05-11 10:44:50 +0200
committerFrank Fischer <frank-fischer@shadow-soft.de>2015-05-11 10:44:50 +0200
commit78e12cee5106bb0c706a3d17c91a189b54d2cde4 (patch)
treebc4ff3eaa57572813b5af99007a78db370c20c4a /scripts
parenteaf03a19727d87a93815ea23fcb73d2a68f9ea5d (diff)
evil-release-stable: ensure stable revision is a number
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/evil-release-stable1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/evil-release-stable b/scripts/evil-release-stable
index 2ddc01a..e573d17 100755
--- a/scripts/evil-release-stable
+++ b/scripts/evil-release-stable
@@ -43,6 +43,7 @@ tag or die 'No tagged revision found'
stable = `hg log -r stable`[/changeset:\s*(\d+)/,1]
stable or die 'No stable branch found'
+stable = stable.to_i
if tag[3] != stable
new_tag = "#{tag[0]}.#{tag[1]}.#{tag[2]+1}"