@akiojin/gwt 6.0.8 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/scripts/check-release-flow.sh +36 -0
package/README.ja.md
CHANGED
|
@@ -315,7 +315,7 @@ cargo run
|
|
|
315
315
|
|
|
316
316
|
## リリースプロセス
|
|
317
317
|
|
|
318
|
-
利用者の方は GitHub Releases もしくは npm
|
|
318
|
+
利用者の方は GitHub Releases もしくは npm で公開される最新版をご利用ください。メンテナ向けのリリースフロー要件は `specs/SPEC-77b1bc70/spec.md` を参照してください。
|
|
319
319
|
|
|
320
320
|
## トラブルシューティング
|
|
321
321
|
|
package/README.md
CHANGED
|
@@ -315,7 +315,7 @@ cargo run
|
|
|
315
315
|
|
|
316
316
|
## Release Process
|
|
317
317
|
|
|
318
|
-
|
|
318
|
+
End users can install the latest published package (via npm or the GitHub Releases tab). Maintainers should follow the release flow requirements in `specs/SPEC-77b1bc70/spec.md`.
|
|
319
319
|
|
|
320
320
|
## Troubleshooting
|
|
321
321
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
5
|
+
PREPARE="$ROOT/.github/workflows/prepare-release.yml"
|
|
6
|
+
RELEASE="$ROOT/.github/workflows/release.yml"
|
|
7
|
+
README_EN="$ROOT/README.md"
|
|
8
|
+
README_JA="$ROOT/README.ja.md"
|
|
9
|
+
|
|
10
|
+
fail=0
|
|
11
|
+
|
|
12
|
+
if ! rg -q "Sync main into develop" "$PREPARE"; then
|
|
13
|
+
echo "[FAIL] prepare-release.yml missing 'Sync main into develop' step"
|
|
14
|
+
fail=1
|
|
15
|
+
fi
|
|
16
|
+
|
|
17
|
+
if rg -q "sync-develop" "$RELEASE"; then
|
|
18
|
+
echo "[FAIL] release.yml still contains sync-develop job"
|
|
19
|
+
fail=1
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
if [ -f "$ROOT/docs/release-guide.md" ] || [ -f "$ROOT/docs/release-guide.ja.md" ]; then
|
|
23
|
+
echo "[FAIL] release-guide docs still exist"
|
|
24
|
+
fail=1
|
|
25
|
+
fi
|
|
26
|
+
|
|
27
|
+
if rg -q "release-guide" "$README_EN" "$README_JA"; then
|
|
28
|
+
echo "[FAIL] README still references release-guide"
|
|
29
|
+
fail=1
|
|
30
|
+
fi
|
|
31
|
+
|
|
32
|
+
if [ "$fail" -ne 0 ]; then
|
|
33
|
+
exit 1
|
|
34
|
+
fi
|
|
35
|
+
|
|
36
|
+
echo "[OK] release flow checks passed"
|