Add a full release flow

This commit is contained in:
David Heinemeier Hansson committed 2025-08-21 16:05:26 +02:00
1 parent b62658ece2
commit 967445310a
3 files changed
+34

No files matched your search

+8
View File
@@ -13,3 +13,11 @@ Run `./bin/omarchy-iso-boot [release/omarchy.iso]`.
## Signing the ISO
Run `./bin/omarchy-iso-sign [gpg-user] [release/omarchy.iso]`.
## Uploading the ISO
Run `./bin/omarchy-iso-upload [release/omarchy.iso]`. This requires you've configured rclone (use `rclone config`).
## Full release of the ISO
Run `./bin/omarchy-iso-make` to create, test, sign, and upload the ISO in one flow.
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
BUILD_ROOT=$(realpath "${BASH_SOURCE[0]%/*}/..")
BUILD_RELEASE_PATH="$BUILD_ROOT/release"
# Make and potentially test the ISO
omarchy-iso-make
# Sign and upload the latest ISO
latest_iso=$(\ls -t "$BUILD_RELEASE_PATH"/*.iso | head -n1)
omarchy-iso-sign $latest_iso
omarchy-iso-upload $latest_iso
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Usage: omarchy-iso-upload [release/omarchy.iso]"
exit 1
fi
if [[ ! -f ~/.config/rclone.conf ]]; then
echo "You must first configure rclone with the R2 credentials: rclone config"
exit 1
fi
rclone copy $1 Omarchy:omarchy/
rclone copy $1.sig Omarchy:omarchy/