Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ae3f6502e1
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 0.716 kB
# Copyright (c) 2003-2010, Andrew Dunstan
# See accompanying License file for license details
FILES = run_build.pl run_web_txn.pl run_branches.pl \
update_personality.pl setnotes.pl \
build-farm.conf \
PGBuild/SCM.pm PGBuild/Options.pm \
PGBuild/Modules/Skeleton.pm
CREL := $(if $(REL),$(strip $(subst .,_, $(REL))),YOU_NEED_A_RELEASE)
.PHONY: tag
tag:
sed -i -e "s/VERSION = '[^']*';/VERSION = 'REL_$(REL)';/" $(FILES)
git commit -a -m 'Mark Release '$(REL)
git tag -m 'Release $(REL)' REL_$(CREL)
.PHONY: release
release:
@echo REL = $(CREL)
mkdir build-farm-$(REL)
tar -cf - $(FILES) | tar -C build-farm-$(REL) -xf -
tar -z -cf build-farm-$(CREL).tgz build-farm-$(REL)
rm -rf build-farm-$(REL)
Jump to Line
Something went wrong with that request. Please try again.