1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

Add info telling me how to release

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2016-11-24 01:35:27 +00:00
parent 84ed484196
commit 67ab66f95d
4 changed files with 26 additions and 9 deletions

View File

@@ -1,11 +1,23 @@
#!/bin/bash
set -e
cd $(dirname $0)
cd $(dirname $0)/..
./build
./test
./validate
./prepare
./package
./integration-test
./scripts/build
./scripts/test
./scripts/validate
./scripts/prepare
./scripts/package
./scripts/integration-test
echo "--- Run"
echo "github-release release --user rancher --repo os --tag ${VERSION} --pre-release --draft"
for file in $(ls dist/artifacts/); do
if [ "$file" != "installer.tar" ]; then
echo "github-release upload --user rancher --repo os --tag ${VERSION} \
--file ./dist/kernel/${file} -name ${file}"
fi
done
echo
cat dist/images | sed 's/^/docker push /'