1
0
mirror of https://github.com/rancher/os.git synced 2025-06-07 22:15:32 +00:00
os/scripts/ci

23 lines
521 B
Plaintext
Raw Permalink Normal View History

2016-05-06 17:12:09 +00:00
#!/bin/bash
set -e
2015-02-09 04:38:37 +00:00
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 /'