Skip to content
Snippets Groups Projects
Unverified Commit 245d0170 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

upload-release.pl: Handle prerelease versions

parent 1286d86b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment