Skip to content

Commit 932d369

Browse files
committed
fix: include docs and skills in release archives
1 parent d0a6967 commit 932d369

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,25 @@ jobs:
6969
touch skills/.gitkeep
7070
fi
7171
72+
- name: Verify packaging assets
73+
shell: bash
74+
run: |
75+
test -f LICENSE
76+
test -f README.md
77+
test -f README_zh.md
78+
test -f skills/nanoskills_project_builder/nanoskills_project_builder.md
79+
test -f skills/nanoskills_usage_guide/nanoskills_usage_guide.md
80+
7281
- name: Build and Upload Binary
7382
# 這個神級 Action 會自動處理 Rust 工具鏈安裝、編譯(--release)、打包(tar.gz/zip) 並上傳到 Release 頁面
7483
uses: taiki-e/upload-rust-binary-action@v1
7584
with:
7685
# 請確認這裡的 bin 名稱與你 Cargo.toml 裡的 package name 或 [[bin]] name 一致
7786
bin: nanoskills
7887
target: ${{ matrix.target }}
79-
# 將 README / LICENSE 以及額外資產(如 skills/)一併打包
88+
# 額外打包資產(README / LICENSE / skills)
89+
include: >-
90+
LICENSE,README.md,README_zh.md,skills/nanoskills_project_builder/nanoskills_project_builder.md,skills/nanoskills_usage_guide/nanoskills_usage_guide.md
8091
tar: all
8192
zip: all
8293
token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project follows [Semantic Versioning](https://semver.org/).
77

88
## [Unreleased]
99

10+
## [1.0.2] - 2026-03-24
11+
12+
### Fixed
13+
14+
- Release packaging now explicitly includes `README.md`, `README_zh.md`, `LICENSE`, and bundled `skills/*` files.
15+
- Added packaging-asset verification step in release workflow to prevent missing files in future release archives.
16+
1017
## [1.0.1] - 2026-03-24
1118

1219
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nanoskills"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
edition = "2024"
55
description = "Zero-config local skill indexing and search CLI for AI Agents"
66
license = "MIT"

0 commit comments

Comments
 (0)