1
0
mirror of https://github.com/rancher/os.git synced 2025-06-04 04:40:16 +00:00
os/scripts/ci
Sven Dowideit 38faa7073b Fix the commanline hints to upload release
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-12 13:58:05 +10:00

23 lines
521 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname $0)/..
./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/artifacts/${file} --name ${file}"
fi
done
echo
cat dist/images | sed 's/^/docker push /'