mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
880d223252
* Write more log output. svn path=/nixpkgs/trunk/; revision=550
22 lines
652 B
Bash
Executable File
22 lines
652 B
Bash
Executable File
#! /bin/sh
|
|
|
|
url="https://svn.cs.uu.nl:12443/repos/trace/nix/trunk/"
|
|
|
|
if ! rev=$(curl --silent -k https://svn.cs.uu.nl:12443/repos/trace/nix/trunk/ \
|
|
| grep '<h2>Revision' \
|
|
| sed 's/.*Revision \(.*\):.*/\1/'); \
|
|
then exit 1; fi
|
|
|
|
echo $rev > head-revision.nix
|
|
|
|
if ! storeexpr=$(nix-instantiate -vvv do-it.nix); then exit 1; fi
|
|
|
|
if ! nix-store -vvvv -r "$storeexpr" > /dev/null; then exit 1; fi
|
|
|
|
if ! outpath=$(nix-store -qn "$storeexpr"); then exit 1; fi
|
|
|
|
uploader="http://losser.st-lab.cs.uu.nl/~eelco/cgi-bin/upload.pl/"
|
|
|
|
curl --silent -T "$outpath/manual.html" "$uploader" || exit 1
|
|
curl --silent -T "$outpath"/nix-*.tar.bz2 "$uploader" || exit 1
|