diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-08-30T13·21+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-08-30T13·21+0200 |
commit | 245d01701d421d5c6aafd2b377a7b14c254f788c (patch) | |
tree | a0004b50027275a63143d99999feab2391bf1a23 /maintainers/upload-release.pl | |
parent | 1286d86b9540841a9fa451c8e7ee0a6d48ae2527 (diff) |
upload-release.pl: Handle prerelease versions
Diffstat (limited to 'maintainers/upload-release.pl')
-rwxr-xr-x | maintainers/upload-release.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/maintainers/upload-release.pl b/maintainers/upload-release.pl index 9b0a09e6c834..8432c95960ca 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; |