diff options
| author | Frank Fischer <frank-fischer@shadow-soft.de> | 2015-05-11 10:44:50 +0200 |
|---|---|---|
| committer | Frank Fischer <frank-fischer@shadow-soft.de> | 2015-05-11 10:44:50 +0200 |
| commit | 78e12cee5106bb0c706a3d17c91a189b54d2cde4 (patch) | |
| tree | bc4ff3eaa57572813b5af99007a78db370c20c4a /scripts | |
| parent | eaf03a19727d87a93815ea23fcb73d2a68f9ea5d (diff) | |
evil-release-stable: ensure stable revision is a number
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/evil-release-stable | 1 |
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}" |
