Browse Source

enhance build scripts for releasing from non-master branch

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
feature_files_export
Nico Schottelius 9 years ago
parent
commit
3a2bd673c9
  1. 5
      Makefile
  2. 6
      bin/build-helper

5
Makefile

@ -99,7 +99,7 @@ man-dist: man check-date
cp ${MAN7DSTDIR}/*.html ${MAN7DSTDIR}/*.css ${MANWEBDIR}/man7
cd ${MANWEBDIR} && git add . && git commit -m "cdist manpages update: $(CHANGELOG_VERSION)" || true
man-fix-link: web-pub
man-latest-link: web-pub
# Fix ikiwiki, which does not like symlinks for pseudo security
ssh tee.schottelius.org \
"cd /home/services/www/nico/www.nico.schottelius.org/www/software/cdist/man && rm -f latest && ln -sf "$(CHANGELOG_VERSION)" latest"
@ -146,7 +146,8 @@ web-dist: web-blog web-doc
web-pub: web-dist man-dist speeches-dist
cd "${WEBDIR}" && make pub
web-release-all: man-fix-link
web-release-all: man-latest-link
web-release-all-no-latest: web-pub
################################################################################
# Release: Mailinglist

6
bin/build-helper

@ -256,7 +256,11 @@ eof
make pub
# publish man, speeches, website
make web-release-all
if [ "$masterbranch" = yes ]; then
make web-release-all
else
make web-release-all-no-latest
fi
# Ensure that pypi release has the right version
"$0" version

Loading…
Cancel
Save