Add auto-release

This commit is contained in:
Ryan Hughes committed 2025-12-13 19:15:34 -05:00
1 parent 88a13336c3
commit 42401fa8a1
9 files changed
+181

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# Check for upstream changes and create state files if updates were pulled
set -e
REPO_DIR=/root/omarchy-pkgs
STATE_DIR=/root/.state
mkdir -p "$STATE_DIR"
cd "$REPO_DIR"
git fetch origin main --quiet
if [[ $(git rev-parse HEAD) != $(git rev-parse origin/main) ]]; then
git pull --ff-only origin main
touch "$STATE_DIR/.sync-needed-edge"
fi