summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-23 05:41:42 +0000
committerH. Peter Anvin <hpa@zytor.com>2008-09-23 05:41:42 +0000
commit59c7f67d17e60f0b9648de9e11cd63e89ecdaad0 (patch)
tree22b1ceb44a76cac77b09bfe6f951ebf2f0847dfb
parenta49a7d1b35b263c9500d878fbdf1c22f0fc29da7 (diff)
downloadnasmbuild-59c7f67d17e60f0b9648de9e11cd63e89ecdaad0.tar.gz
nasmbuild-59c7f67d17e60f0b9648de9e11cd63e89ecdaad0.tar.xz
nasmbuild-59c7f67d17e60f0b9648de9e11cd63e89ecdaad0.zip
Always make docs; use new update_release script
-rwxr-xr-xbuildall.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/buildall.sh b/buildall.sh
index 7e660dc..9fabf9c 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -96,19 +96,19 @@ build () {
echo "$version" "$rev" >> build-ids
}
+# This gets run for real (tagged) releases
process_release () {
+ rm -rf $web/docs/"$1"
+ cp -a work/html $web/docs/"$1"
case "$1" in
- *pre*)
- # Prerelease; don't do anything
- ;;
*rc*)
# -rc release
- update_version "$1" $web/rc-version
+ update_version "$1" $web/version.inc
;;
*)
- update_version "$1" $web/version
- cp -a work/html $web/docs/"$1"
- ( cd $web && ln -sf docs/"$1" doc )
+ if update_version "$1" $web/version.inc; then
+ ( cd $web && ln -sf docs/"$1" doc )
+ fi
;;
esac
}