From d3141882475bd3ba114ec4d8f1225fb53fa45ecd Mon Sep 17 00:00:00 2001 From: Reactorcoremeltdown Date: Mon, 2 Nov 2026 12:30:28 +0100 Subject: [PATCH] Deploy when versions.mk changes The deploy pipeline watched a VERSION file that does not exist, so a version bump built the image but never deployed it. Co-Authored-By: Claude Opus 5.5 --- .woodpecker/deploy.yaml | 2 +- packaging/macos/launch-agent.plist.in | 22 ---------------------- packaging/macos/launcher.sh | 14 -------------- 3 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 packaging/macos/launch-agent.plist.in delete mode 100644 packaging/macos/launcher.sh diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml index e64bf9d..ace9ce9 100644 --- a/.woodpecker/deploy.yaml +++ b/.woodpecker/deploy.yaml @@ -5,7 +5,7 @@ when: - 'config/variables/server.values.yaml' - '.woodpecker/deploy.yaml' - 'Makefile' - - 'VERSION' + - 'versions.mk' - 'Dockerfile' - '**/*.go' event: [push, cron, manual] diff --git a/packaging/macos/launch-agent.plist.in b/packaging/macos/launch-agent.plist.in deleted file mode 100644 index aa64c3e..0000000 --- a/packaging/macos/launch-agent.plist.in +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - Label - @APPID@ - ProgramArguments - - /Applications/KeepOrg.app/Contents/MacOS/keeporg - run - - RunAtLoad - - KeepAlive - - StandardErrorPath - /tmp/keeporg.log - - diff --git a/packaging/macos/launcher.sh b/packaging/macos/launcher.sh deleted file mode 100644 index 703be2e..0000000 --- a/packaging/macos/launcher.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# Bundle executable: starts the synchronization agent. If this device has not -# been signed in yet, open Terminal so the user can do it. -set -eu -here=$(cd "$(dirname "$0")" && pwd) -keeporg="$here/keeporg" -config="$HOME/Library/Application Support/keeporg/config.json" - -if [ ! -f "$config" ]; then - osascript -e "tell application \"Terminal\" to do script \"'$keeporg' login -server https://keeporg.example.com -user \$USER\"" \ - -e 'tell application "Terminal" to activate' - exit 0 -fi -exec "$keeporg" run