Last active
July 5, 2016 09:33
-
-
Save narqo/5fdda706617edd6b17f9088d23a40b4d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: ${DOCKER:=docker} | |
# fix git detached clone | |
git repack -a -d && rm -f .git/objects/info/alternates | |
# update the changelog inside a container | |
$DOCKER run --rm -v $PWD:/tmp/build -w /tmp/build \ | |
-e "EDITOR=/bin/true" \ | |
-e "DEBEMAIL=$DEBEMAIL" -e "DEBFULLNAME=$DEBFULLNAME" -e "DEB_VENDOR=debian" \ | |
registry.ape.yandex.net/vertis/buildbox-buildpkg:1.trusty \ | |
sh -c 'git dch --ignore-branch --distribution unstable --urgency low --release --auto' | |
dch -a "Build #${BUILD_NUMBER} (${BUILD_VCS_NUMBER}) by %teamcity.build.triggeredBy%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment