| index 4bcd343..f5cbf6f 100755 | ||
| --- a/release-dist.sh | ||
| +++ b/release-dist.sh | ||
| @@ -28,7 +28,7 @@ set -euo pipefail | ||
| 28 | 28 | |
| 29 | 29 | SLUG="disks" |
| 30 | 30 | ID="plugin_disks" |
| 31 | -VERSION="1.0.1" | |
| 31 | +VERSION="1.0.2" | |
| 32 | 32 | DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins" |
| 33 | 33 | |
| 34 | 34 | ROOT="$(cd "$(dirname "$0")" && pwd)" |
| index 5b75679..2a18349 100644 | ||
| --- a/src/plugin_disks.c | ||
| +++ b/src/plugin_disks.c | ||
| @@ -68,7 +68,7 @@ | ||
| 68 | 68 | |
| 69 | 69 | #define PLUGIN_SLUG "disks" |
| 70 | 70 | #define PLUGIN_ID "plugin_disks" |
| 71 | -#define PLUGIN_VER "1.0.1" | |
| 71 | +#define PLUGIN_VER "1.0.2" | |
| 72 | 72 | |
| 73 | 73 | #define MAX_MOUNTS 256 |
| 74 | 74 | #define MAX_DIRS 512 |
| index 9b0990d..2c703fd 100755 | ||
| --- a/tests/run.sh | ||
| +++ b/tests/run.sh | ||
| @@ -68,7 +68,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | ||
| 68 | 68 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" |
| 69 | 69 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') |
| 70 | 70 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" |
| 71 | -check "--version prints version" '1.0.1' "$("$BIN" --version)" | |
| 71 | +check "--version prints version" '1.0.2' "$("$BIN" --version)" | |
| 72 | 72 | check "--help is available" 'usage:' "$("$BIN" --help)" |
| 73 | 73 | META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta) |
| 74 | 74 | check "meta still works when BOT_PASSWORD is set" '"name":"disks"' "$META_AUTH" |
| 75 | 75 |
| index 4bcd343..f5cbf6f 100755 | index 4bcd343..f5cbf6f 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="disks" | 29 | SLUG="disks" |
| 30 | ID="plugin_disks" | 30 | ID="plugin_disks" |
| 31 | -VERSION="1.0.1" | 31 | +VERSION="1.0.2" |
| 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 5b75679..2a18349 100644 | index 5b75679..2a18349 100644 | ||
| --- a/src/plugin_disks.c | --- a/src/plugin_disks.c | ||
| +++ b/src/plugin_disks.c | +++ b/src/plugin_disks.c | ||
| @@ -68,7 +68,7 @@ | @@ -68,7 +68,7 @@ | ||
| 68 | 68 | ||
| 69 | #define PLUGIN_SLUG "disks" | 69 | #define PLUGIN_SLUG "disks" |
| 70 | #define PLUGIN_ID "plugin_disks" | 70 | #define PLUGIN_ID "plugin_disks" |
| 71 | -#define PLUGIN_VER "1.0.1" | 71 | +#define PLUGIN_VER "1.0.2" |
| 72 | 72 | ||
| 73 | #define MAX_MOUNTS 256 | 73 | #define MAX_MOUNTS 256 |
| 74 | #define MAX_DIRS 512 | 74 | #define MAX_DIRS 512 |
| index 9b0990d..2c703fd 100755 | index 9b0990d..2c703fd 100755 | ||
| --- a/tests/run.sh | --- a/tests/run.sh | ||
| +++ b/tests/run.sh | +++ b/tests/run.sh | ||
| @@ -68,7 +68,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | @@ -68,7 +68,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | ||
| 68 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" | 68 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" |
| 69 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') | 69 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') |
| 70 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" | 70 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" |
| 71 | -check "--version prints version" '1.0.1' "$("$BIN" --version)" | 71 | +check "--version prints version" '1.0.2' "$("$BIN" --version)" |
| 72 | check "--help is available" 'usage:' "$("$BIN" --help)" | 72 | check "--help is available" 'usage:' "$("$BIN" --help)" |
| 73 | META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta) | 73 | META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta) |
| 74 | check "meta still works when BOT_PASSWORD is set" '"name":"disks"' "$META_AUTH" | 74 | check "meta still works when BOT_PASSWORD is set" '"name":"disks"' "$META_AUTH" |
| 75 | 75 |