1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 06:11:12 +00:00
Files
os/scripts/release

14 lines
439 B
Plaintext
Raw Normal View History

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