What's cooking (2013/01 #03)
[git/jnareb-git.git] / RelBuild
blob3573ea2ca69e71be9c53dae4b68b4d27b3f1f746
1 #!/bin/sh
3 version=$(git describe --exact) &&
4 label=$(echo "$version" | sed -e 's|^v||') &&
5 version=$(echo "$label" | sed -e 's|-|.|g') || exit
7 make clean && make dist &&
9 ASCIIDOC_NO_ROFF=YesPlease \
10 ASCIIDOC8=YesPlease \
11 MAN_BASE_URL="git-htmldocs/" \
12 make dist-doc || exit
14 # The above used to be
15 # MAN_BASE_URL="http://www.kernel.org/pub/software/scm/git/docs/"
17 files="
18 git-$version.tar.gz
19 git-htmldocs-$version.tar.gz
20 git-manpages-$version.tar.gz
23 for file in $files
25 test -f $file || exit
26 done
28 sha1sum $files | gpg --clearsign >git-$version.sign
30 ls -l git-$version.sign $files