1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Merge pull request #1461 from SvenDowideit/generate-changelog

generate a changelog to start from
This commit is contained in:
Sven Dowideit
2016-12-16 21:43:09 +10:00
committed by GitHub

View File

@@ -7,3 +7,7 @@ export COMPRESS="xz --format=lzma -9 --memlimit-compress=80% -e"
export INTEGRATION_TESTS=0
exec $(dirname $0)/ci
# make generated changelog
lastrelease=$(hub release | grep -v rc | head -n1 | tr -d ' \r\n')
git log --format="%s: %b" ${lastrelease}..${VERSION} | grep "Merge pull" | sed 's/.*\(#.*\) from .*:\(.*\)/* \1: \2/g' > dist/artifacts/changelog.txt