aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-30 15:21:58 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-30 15:21:58 +0200
commit245d01701d421d5c6aafd2b377a7b14c254f788c (patch)
treea0004b50027275a63143d99999feab2391bf1a23
parent1286d86b9540841a9fa451c8e7ee0a6d48ae2527 (diff)
upload-release.pl: Handle prerelease versions
-rwxr-xr-xmaintainers/upload-release.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/maintainers/upload-release.pl b/maintainers/upload-release.pl
index 9b0a09e6c..8432c9596 100755
--- a/maintainers/upload-release.pl
+++ b/maintainers/upload-release.pl
@@ -91,6 +91,8 @@ downloadFile("binaryTarball.aarch64-linux", "1");
downloadFile("binaryTarball.x86_64-darwin", "1");
downloadFile("installerScript", "1");
+exit if $version =~ /pre/;
+
# Update Nixpkgs in a very hacky way.
system("cd $nixpkgsDir && git pull") == 0 or die;
my $oldName = `nix-instantiate --eval $nixpkgsDir -A nix.name`; chomp $oldName;