1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 06:59:12 +00:00
Files
os/scripts/release-amd64
Olli Janatuinen f87c220f1b v2.0.0-beta7
- Docker 24.0.5
- Kernel 5.10.188
- System-docker 17.06.108
- System container images compresses with zstd instead of xz
- Added WSL2 support
- Include Hyper-V, ProxmoxVE and VMware tools to ISO
- Include apparmor tools to console
- Enable apparmor by default
- Remove experimental selinux support
- Include chroot command to initrd
2023-08-06 12:55:50 +00:00

38 lines
1.5 KiB
Bash
Executable File

#!/bin/bash
set -ex
cd $(dirname $0)/..
# touch .make-azurebase
touch .make-hyperv
touch .make-proxmoxve
touch .make-vmware
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 "echo Waiting 30 seconds after release creation to make sure that GitHub is ready for uploads" >> dist/publish.sh
echo "sleep 30s" >> 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
# Include iPXE files
echo "github-release upload --user burmilla --repo os --tag ${VERSION} --file ./dist/artifacts/initrd-${VERSION} --name initrd" >> dist/publish.sh
echo "github-release upload --user burmilla --repo os --tag ${VERSION} --file ./dist/artifacts/vmlinuz-${KERNEL_VERSION} --name vmlinuz" >> dist/publish.sh
echo "github-release upload --user burmilla --repo os --tag ${VERSION} --file ./dist/artifacts/rootfs.tar.gz --name rootfs.tar.gz" >> dist/publish.sh
cat dist/images | sed 's/^/docker push /' >> dist/publish.sh
fi
echo "--- Run dist/publish.sh"
cat dist/publish.sh