Files
omarchy-iso/bin/omarchy-iso-release
T
2025-08-25 12:54:10 +02:00

12 lines
358 B
Bash
Executable File

#!/bin/bash
BUILD_ROOT=$(realpath "${BASH_SOURCE[0]%/*}/..")
BUILD_RELEASE_PATH="$BUILD_ROOT/release"
RELEASE_ISO="$BUILD_RELEASE_PATH/omarchy-online-dev.iso"
# Sign and upload the latest ISO
latest_iso=$(\ls -t "$BUILD_RELEASE_PATH"/*x86_64.iso | head -n1)
cp "$latest_iso" "$RELEASE_ISO"
omarchy-iso-sign "$RELEASE_ISO"
omarchy-iso-upload "$RELEASE_ISO"