| index 04cef30..6717423 100755 | ||
| --- a/release-dist.sh | ||
| +++ b/release-dist.sh | ||
| @@ -28,7 +28,7 @@ set -euo pipefail | ||
| 28 | 28 | |
| 29 | 29 | SLUG="hello" |
| 30 | 30 | ID="plugin_hello" |
| 31 | -VERSION="1.1.3" | |
| 31 | +VERSION="1.1.4" | |
| 32 | 32 | DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins" |
| 33 | 33 | |
| 34 | 34 | ROOT="$(cd "$(dirname "$0")" && pwd)" |
| 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) { | ||
| 49 | 49 | |
| 50 | 50 | #define PLUGIN_SLUG "hello" |
| 51 | 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 | 55 | /* Query string helpers */ |
| index e70fb50..dda1ac0 100755 | ||
| --- a/tests/run.sh | ||
| +++ b/tests/run.sh | ||
| @@ -62,7 +62,7 @@ DESC=$("$BIN" --meta | sed 's/.*"desc":"\([^"]*\)".*/\1/') | ||
| 62 | 62 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" |
| 63 | 63 | NAME=$("$BIN" --meta | sed 's/.*"name":"\([^"]*\)".*/\1/') |
| 64 | 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 | 67 | # ------------------------------------------------- CGI framing (Windows trap) |
| 68 | 68 | # 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 | 117 | check "info ok:true" '"ok":true' "$BODY" |
| 118 | 118 | check "info plugin id" '"plugin":"plugin_hello"' "$BODY" |
| 119 | 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 | 121 | check "info hostname field" '"hostname"' "$BODY" |
| 122 | 122 | check "info os field" '"os"' "$BODY" |
| 123 | 123 | check "info arch field" '"arch"' "$BODY" |
| 124 | 124 |
| index 04cef30..6717423 100755 | index 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)" |
| index 5579d61..6c88c4a 100644 | index 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 */ |
| index e70fb50..dda1ac0 100755 | index 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 into | 68 | # 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" |
| 124 | 124 |