diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-08-07 17:14:42 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-08-07 17:14:42 +0400 |
commit | b8dc011556f4d93f82adb11e6f7eecfb880d696f (patch) | |
tree | c82e474568190ff6b5d87a4ecf0a58e860b6473f /scripts/release.pl | |
parent | 7294099a815cb92306bdcec73117efc7be50ea12 (diff) |
GPG sign and upload source snapshots
Diffstat (limited to 'scripts/release.pl')
-rw-r--r-- | scripts/release.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/release.pl b/scripts/release.pl index 07dd48e8c..c182bf0f6 100644 --- a/scripts/release.pl +++ b/scripts/release.pl @@ -171,7 +171,8 @@ foreach my $file ('LICENSE', sort keys %files) { my $gz=gzopen("mumble-${ver}.tar.gz", "w"); $gz->gzwrite($tar->write()); $gz->gzclose(); - $zip->writeToFileNamed("mumble-${ver}.zip"); copy("mumble-${ver}.tar.gz", "../deb-mumble/tarballs/mumble_${ver}.orig.tar.gz"); +system("/usr/bin/gpg", "--armor", "--default-key", "DEBA6F3E", "--sign", "--detach-sign", "--output", "mumble-${ver}.tar.gz.sig", "mumble-${ver}.tar.gz"); +system("/usr/bin/scp", "mumble-${ver}.tar.gz", "mumble-${ver}.tar.gz.sig", "xeno\@mix.hive.no:WEB/mumble.hive.no/snapshot/"); |