From 5f86699d18ad5084052e12f3d12c9a54a8ea7c03 Mon Sep 17 00:00:00 2001 From: lxcong Date: Thu, 23 Apr 2026 14:29:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20rename=20version=20=E2=86=92=20version.t?= =?UTF-8?q?xt=20for=20release-please=20simple=20updater?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release-please-config.json | 4 ---- skills/agentkey/scripts/check-update.sh | 2 +- version | 1 - version.txt | 1 + 4 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 version create mode 100644 version.txt diff --git a/release-please-config.json b/release-please-config.json index af6ec45..c2f1791 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -8,10 +8,6 @@ "bump-patch-for-minor-pre-major": false, "include-v-in-tag": true, "extra-files": [ - { - "type": "generic", - "path": "version" - }, { "type": "json", "path": ".claude-plugin/plugin.json", diff --git a/skills/agentkey/scripts/check-update.sh b/skills/agentkey/scripts/check-update.sh index b0f0d00..4689a35 100755 --- a/skills/agentkey/scripts/check-update.sh +++ b/skills/agentkey/scripts/check-update.sh @@ -9,7 +9,7 @@ CACHE_TTL_FAILURE=3600 # 1h for UPDATE_FAILED (retry sooner) CURL_TIMEOUT=3 PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." 2>/dev/null && pwd)}" -VERSION_FILE="$PLUGIN_ROOT/version" +VERSION_FILE="$PLUGIN_ROOT/version.txt" CACHE_FILE="${TMPDIR:-/tmp}/agentkey-update-check" LOCAL_VERSION=$(tr -d '[:space:]' < "$VERSION_FILE" 2>/dev/null) diff --git a/version b/version deleted file mode 100644 index 3eefcb9..0000000 --- a/version +++ /dev/null @@ -1 +0,0 @@ -1.0.0 diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..9084fa2 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +1.1.0