mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
Script to automatically checkout and create a snix release.
This commit is contained in:
parent
ab649814fc
commit
b6659d4425
3 changed files with 31 additions and 0 deletions
21
createRelease.sh
Executable file
21
createRelease.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
||||||
|
#! /bin/sh -e
|
||||||
|
|
||||||
|
dir1=releases
|
||||||
|
dir2=nix-state
|
||||||
|
mkdir -p $dir1
|
||||||
|
cd $dir1
|
||||||
|
rm -rf $dir2
|
||||||
|
mkdir -p $dir2
|
||||||
|
cd $dir2
|
||||||
|
svn co https://svn.cs.uu.nl:12443/repos/trace/nix/branches/state ./
|
||||||
|
revision=`svn info | grep ^Revision | sed 's/Revision: //g'`
|
||||||
|
cd ..
|
||||||
|
date=`date +%Y%m%d`
|
||||||
|
tarfile=snix-${date}-rev${revision}.tar.gz
|
||||||
|
tar -cvf $tarfile \
|
||||||
|
--preserve-permissions \
|
||||||
|
--atime-preserve \
|
||||||
|
--gzip \
|
||||||
|
--verbose \
|
||||||
|
--no-ignore-command-error \
|
||||||
|
$dir2/
|
||||||
1
doc/manual/NEWS.txt
Normal file
1
doc/manual/NEWS.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
New state nix version by wouter ...
|
||||||
9
prebootstrap.sh
Executable file
9
prebootstrap.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#! /bin/sh -e
|
||||||
|
|
||||||
|
export ACLOCAL_PATH=/home/$(whoami)/.nix-profile/share/aclocal
|
||||||
|
|
||||||
|
export AUTOCONF=autoconf
|
||||||
|
export AUTOHEADER=autoheader
|
||||||
|
export AUTOMAKE=automake
|
||||||
|
|
||||||
|
./bootstrap.sh
|
||||||
Loading…
Add table
Add a link
Reference in a new issue