mirror of
https://github.com/rancher/os.git
synced 2025-06-04 04:40:16 +00:00
23 lines
521 B
Bash
Executable File
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 /'
|