Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2011-04-03 02:17:21 +0400
committerThorvald Natvig <slicer@users.sourceforge.net>2011-04-03 02:17:21 +0400
commitf7d871105810e7b65d02b4fc0831c30d9da40e78 (patch)
treefe1369756fbc3dcfc598bbc80343afd18d2acac8 /scripts/release.pl
parentf738bb2db5eb24386748d064aad7f04d0a05af1d (diff)
Deal with non-rc versions for tarballs
Diffstat (limited to 'scripts/release.pl')
-rw-r--r--scripts/release.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/release.pl b/scripts/release.pl
index 025f901fb..3efde46c9 100644
--- a/scripts/release.pl
+++ b/scripts/release.pl
@@ -150,10 +150,12 @@ foreach my $dir (@fulldirs) {
delete($files{'LICENSE'});
if ($#ARGV < 0) {
- open(F, "git describe origin|");
+ open(F, "git describe origin/master|");
while (<F>) {
chomp();
+ s/^(.+)-([0-9]+)-(g.+)$/$1|$2|$3/;
s/-/~/;
+ s/\|/-/g;
$ver = $_;
}
close(F);