1
0
mirror of https://github.com/rancher/os.git synced 2025-08-18 14:58:32 +00:00
os/scripts/release-rpi64

24 lines
661 B
Plaintext
Raw Normal View History

2018-12-14 14:36:07 +00:00
#!/bin/bash
set -ex
cd $(dirname $0)/..
2019-02-06 03:27:24 +00:00
source ./scripts/version
2018-12-14 14:36:07 +00:00
if [ ! -f ./dist/artifacts/rootfs_arm64.tar.gz ]; then
echo "Please run make first"
exit 0
fi
cp ./dist/artifacts/rootfs_arm64.tar.gz ./scripts/images/raspberry-pi-hypriot64/
pushd ./scripts/images/raspberry-pi-hypriot64/
./../../../.dapper
popd
cp ./scripts/images/raspberry-pi-hypriot64/dist/burmillaos-raspberry-pi64.zip ./dist/artifacts/
2018-12-14 14:36:07 +00:00
touch dist/publish.sh
chmod 755 dist/publish.sh
2018-12-14 14:36:07 +00:00
echo "github-release upload --user burmilla --repo os --tag ${VERSION} --file dist/artifacts/burmillaos-raspberry-pi64.zip --name burmillaos-${VERSION}-raspberry-pi64.zip" >> dist/publish.sh