mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
upload-release.pl: Handle prerelease versions
This commit is contained in:
parent
1286d86b95
commit
245d01701d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue