Commit c5472b84 authored by anarcat's avatar anarcat

autobuilder fixes from drush:

 * upload to unstable
 * fix commitlog to indicate the jenkins build tag
 * make PGP key customizable
parent fc81e0ca
......@@ -11,6 +11,9 @@ override_dh_install:
cp -r "$(CURDIR)/db/" "$(CURDIR)/dns/" "$(CURDIR)/http/" "$(CURDIR)/aegir.make" "$(CURDIR)/platform/" "$(CURDIR)"/*.inc "$(CURDIR)"/*.php "$(CURDIR)"/*.info "$(CURDIR)/debian/aegir-provision/usr/share/drush/commands/provision/"
cp "$(CURDIR)/debian/aegir-provision.lintian" "$(CURDIR)/debian/aegir-provision/usr/share/lintian/overrides/aegir-provision"
DOMAIN?=$(shell hostname -f)
# this builds a debian package based on what the current branches are
# this usually tests the latest release
......@@ -29,9 +32,9 @@ debian_version=$(shell git describe --tags origin/debian | sed "s/debian\///;s/-
# this assumes you are on a "debian" branch (of course)
git merge origin/6.x-1.x
dch -v ${upstream_version}-${debian_version} "automatic jenkins build ${BUILD_TAG}"
git commit -m"dummy commit for $version autobuild" debian/changelog
git-buildpackage -b --git-upstream-branch=origin/6.x-1.x
dch -D unstable -v ${upstream_version}-${debian_version} "automatic jenkins build ${BUILD_TAG}"
git commit -m"dummy commit for jenkins ${BUILD_TAG} autobuild" debian/changelog
git-buildpackage -b --git-upstream-branch=origin/6.x-1.x ${KEY}
@echo ${upstream_version}-${debian_version}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment