diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-10-16 19:59:14 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-10-16 19:59:14 +0400 |
commit | 98b43c27a37c555ec68e7fbf9104d2558da52f06 (patch) | |
tree | 1a1cfe66851b2d4f4fe575eb2fb285cded26dc7e /scripts/release.pl | |
parent | e5a6b3ed8a10e31038b7c3013c89be16cc4f4c84 (diff) |
tarbuilder updates
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@785 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'scripts/release.pl')
-rw-r--r-- | scripts/release.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/release.pl b/scripts/release.pl index f1c87e1dd..6db749cdb 100644 --- a/scripts/release.pl +++ b/scripts/release.pl @@ -94,6 +94,11 @@ foreach my $file ('LICENSE', sort keys %files) { print "Adding $file\n"; open(F, $file) or croak "Missing $file"; sysread(F, $blob, 1000000000); + + if ($file eq "src/mumble/Global.h") { + $blob =~ s/\#ifndef MUMBLE_VERSION/\#define MUMBLE_VERSION $ver\n\#if 0/; + } + $tar->add_data($dir . $file, $blob); my $zipmember=$zip->addString($blob, $dir . $file); $zipmember->desiredCompressionMethod( COMPRESSION_DEFLATED ); |