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

generate a changelog to start from

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2016-12-13 17:09:49 +10:00
parent 86d810038a
commit ee51e854ba

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