1
0
mirror of https://github.com/rancher/os.git synced 2025-08-16 13:57:43 +00:00
os/scripts/release-amd64
Olli Janatuinen b31b3fe738 v2.0.0-beta3
- Share kernel with k3OS (5.4.0-54.60-rancher1)
- Buildroot 2020.02.8
- Docker 20.10.2
2021-02-18 20:16:40 +02:00

26 lines
772 B
Bash
Executable File

#!/bin/bash
set -ex
cd $(dirname $0)/..
source ./scripts/version
./scripts/release-build
touch dist/publish.sh
chmod 755 dist/publish.sh
if [ "$OS_FIRMWARE" = "false" ]; then
echo "github-release upload --user burmilla --repo os --tag ${VERSION} --file ./dist/artifacts/burmillaos.iso --name burmillaos-${VERSION}-vm.iso" >> dist/publish.sh
exit 0
else
echo "github-release release --user burmilla --repo os --tag ${VERSION} --pre-release --draft" > dist/publish.sh
echo "github-release upload --user burmilla --repo os --tag ${VERSION} --file ./dist/artifacts/burmillaos.iso --name burmillaos-${VERSION}.iso" >> dist/publish.sh
cat dist/images | sed 's/^/docker push /' >> dist/publish.sh
fi
echo "--- Run dist/publish.sh"
cat dist/publish.sh