Skip to content

Commit 67532e1

Browse files
authored
fix: more tweaks gunshi/docs release (#421)
* fix: more tweaks gunshi/docs release * chore: generate changelog * fix: typo --------- Co-authored-by: kazupon <[email protected]>
1 parent c9722cc commit 67532e1

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

.github/workflows/nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434

3535
- name: Release with pkg-pr-new
3636
run: |
37-
pkgs=$(ls -d ./packages/* | grep -v ./packages/docs)
37+
pkgs=$(ls -d ./packages/*)
3838
pnpx pkg-pr-new publish --compact --pnpm $pkgs

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This changelog is generated by [GitHub Releases](https://github.com/kazupon/guns
88

99
### 🌟 Features
1010

11-
- feat: register gunshi docs to npm registory (experimental) by @kazupon in https://github.com/kazupon/gunshi/pull/420
11+
- feat: register gunshi docs to npm registry (experimental) by @kazupon in https://github.com/kazupon/gunshi/pull/420
1212

1313
### ⚡ Improvement Features
1414

packages/docs/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@
2222
"dev": "pnpm run build:typedoc && vitepress dev src",
2323
"preview": "vitepress preview src"
2424
},
25+
"keywords": [
26+
"command",
27+
"option",
28+
"cli",
29+
"argument",
30+
"args",
31+
"argv",
32+
"docs",
33+
"documentation",
34+
"llms"
35+
],
2536
"files": [
2637
"README.md",
2738
"src/api/context",

scripts/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ TAG="beta"
1818
# Release packages for npm registry
1919
for PKG in packages/* ; do
2020
if [[ -d $PKG ]]; then
21+
if [[ $PKG == packages/docs ]]; then
22+
pnpm run build:docs
23+
fi
2124
pushd $PKG
2225
if [[ $PKG == packages/gunshi ]]; then
2326
cp -r ../../assets ./assets

0 commit comments

Comments
 (0)