chore(release): 1.1.4 — publish mirror-hook proof (v1.7.0 CLI hook live test)
AuthorPico <picobot@scorpioplayer.com>
Date2026-11-16 05:17:36
Commitf7023ddb
Parentsc7e119c8
Changed files
release-dist.sh+1−1■■
src/plugin_hello.c+1−1■■
tests/run.sh+2−2■■■■
3 files+4−4
Diff
release-dist.sh+1−1■■
index 04cef30..6717423 100755
--- a/release-dist.sh
+++ b/release-dist.sh
@@ -28,7 +28,7 @@ set -euo pipefail
2828
2929 SLUG="hello"
3030 ID="plugin_hello"
31-VERSION="1.1.3"
31+VERSION="1.1.4"
3232 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"
3333
3434 ROOT="$(cd "$(dirname "$0")" && pwd)"
src/plugin_hello.c+1−1■■
index 5579d61..6c88c4a 100644
--- a/src/plugin_hello.c
+++ b/src/plugin_hello.c
@@ -49,7 +49,7 @@ static void sx_plugin_binary_stdio(void) {
4949
5050 #define PLUGIN_SLUG "hello"
5151 #define PLUGIN_ID "plugin_hello"
52-#define PLUGIN_VER "1.1.3"
52+#define PLUGIN_VER "1.1.4"
5353
5454 /* ------------------------------------------------------------------ */
5555 /* Query string helpers */
tests/run.sh+2−2■■■■
index e70fb50..dda1ac0 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -62,7 +62,7 @@ DESC=$("$BIN" --meta | sed 's/.*"desc":"\([^"]*\)".*/\1/')
6262 [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})"
6363 NAME=$("$BIN" --meta | sed 's/.*"name":"\([^"]*\)".*/\1/')
6464 [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces"
65-check "--version prints version" '1.1.3' "$("$BIN" --version)"
65+check "--version prints version" '1.1.4' "$("$BIN" --version)"
6666
6767 # ------------------------------------------------- CGI framing (Windows trap)
6868 # MinGW/MSVC CRT stdout defaults to TEXT mode, which rewrites every \n into
@@ -117,7 +117,7 @@ BODY=$(printf '%s' "$INFO" | sed '1,/^\r$/d')
117117 check "info ok:true" '"ok":true' "$BODY"
118118 check "info plugin id" '"plugin":"plugin_hello"' "$BODY"
119119 check "info slug" '"slug":"hello"' "$BODY"
120-check "info version" '"version":"1.1.3"' "$BODY"
120+check "info version" '"version":"1.1.4"' "$BODY"
121121 check "info hostname field" '"hostname"' "$BODY"
122122 check "info os field" '"os"' "$BODY"
123123 check "info arch field" '"arch"' "$BODY"
124124
release-dist.sh+1−1■■
index 04cef30..6717423 100755index 04cef30..6717423 100755
--- a/release-dist.sh--- a/release-dist.sh
+++ b/release-dist.sh+++ b/release-dist.sh
@@ -28,7 +28,7 @@ set -euo pipefail@@ -28,7 +28,7 @@ set -euo pipefail
28 28
29 SLUG="hello"29 SLUG="hello"
30 ID="plugin_hello"30 ID="plugin_hello"
31-VERSION="1.1.3"31+VERSION="1.1.4"
32 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"32 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"
33 33
34 ROOT="$(cd "$(dirname "$0")" && pwd)"34 ROOT="$(cd "$(dirname "$0")" && pwd)"
src/plugin_hello.c+1−1■■
index 5579d61..6c88c4a 100644index 5579d61..6c88c4a 100644
--- a/src/plugin_hello.c--- a/src/plugin_hello.c
+++ b/src/plugin_hello.c+++ b/src/plugin_hello.c
@@ -49,7 +49,7 @@ static void sx_plugin_binary_stdio(void) {@@ -49,7 +49,7 @@ static void sx_plugin_binary_stdio(void) {
49 49
50 #define PLUGIN_SLUG "hello"50 #define PLUGIN_SLUG "hello"
51 #define PLUGIN_ID "plugin_hello"51 #define PLUGIN_ID "plugin_hello"
52-#define PLUGIN_VER "1.1.3"52+#define PLUGIN_VER "1.1.4"
53 53
54 /* ------------------------------------------------------------------ */54 /* ------------------------------------------------------------------ */
55 /* Query string helpers */55 /* Query string helpers */
tests/run.sh+2−2■■■■
index e70fb50..dda1ac0 100755index e70fb50..dda1ac0 100755
--- a/tests/run.sh--- a/tests/run.sh
+++ b/tests/run.sh+++ b/tests/run.sh
@@ -62,7 +62,7 @@ DESC=$("$BIN" --meta | sed 's/.*"desc":"\([^"]*\)".*/\1/')@@ -62,7 +62,7 @@ DESC=$("$BIN" --meta | sed 's/.*"desc":"\([^"]*\)".*/\1/')
62 [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})"62 [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})"
63 NAME=$("$BIN" --meta | sed 's/.*"name":"\([^"]*\)".*/\1/')63 NAME=$("$BIN" --meta | sed 's/.*"name":"\([^"]*\)".*/\1/')
64 [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces"64 [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces"
65-check "--version prints version" '1.1.3' "$("$BIN" --version)"65+check "--version prints version" '1.1.4' "$("$BIN" --version)"
66 66
67 # ------------------------------------------------- CGI framing (Windows trap)67 # ------------------------------------------------- CGI framing (Windows trap)
68 # MinGW/MSVC CRT stdout defaults to TEXT mode, which rewrites every \n into68 # MinGW/MSVC CRT stdout defaults to TEXT mode, which rewrites every \n into
@@ -117,7 +117,7 @@ BODY=$(printf '%s' "$INFO" | sed '1,/^\r$/d')@@ -117,7 +117,7 @@ BODY=$(printf '%s' "$INFO" | sed '1,/^\r$/d')
117 check "info ok:true" '"ok":true' "$BODY"117 check "info ok:true" '"ok":true' "$BODY"
118 check "info plugin id" '"plugin":"plugin_hello"' "$BODY"118 check "info plugin id" '"plugin":"plugin_hello"' "$BODY"
119 check "info slug" '"slug":"hello"' "$BODY"119 check "info slug" '"slug":"hello"' "$BODY"
120-check "info version" '"version":"1.1.3"' "$BODY"120+check "info version" '"version":"1.1.4"' "$BODY"
121 check "info hostname field" '"hostname"' "$BODY"121 check "info hostname field" '"hostname"' "$BODY"
122 check "info os field" '"os"' "$BODY"122 check "info os field" '"os"' "$BODY"
123 check "info arch field" '"arch"' "$BODY"123 check "info arch field" '"arch"' "$BODY"
124124