1
0
mirror of https://github.com/rancher/os.git synced 2025-06-07 06:02:46 +00:00
os/scripts/release

14 lines
439 B
Plaintext
Raw Permalink Normal View History

2016-05-06 17:12:09 +00:00
#!/bin/bash
set -e
2016-05-06 17:12:09 +00:00
2016-05-23 06:51:46 +00:00
source $(dirname $0)/version
export REPO_VERSION=$VERSION
2016-08-19 01:14:24 +00:00
export COMPRESS="xz --format=lzma -9 --memlimit-compress=80% -e"
2016-06-29 04:41:40 +00:00
export INTEGRATION_TESTS=0
2016-05-23 06:51:46 +00:00
2016-05-06 17:12:09 +00:00
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