ssh-release 1.0.0 → 1.0.2
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/CHANGELOG.md +16 -0
- package/README.md +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.2 - 2026-06-26
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- 增强 npm 自动发布 workflow,发布后会验证 registry 版本和安装后的 CLI 入口。
|
|
8
|
+
|
|
9
|
+
## 1.0.1 - 2026-06-25
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- 增加基于 npm Trusted Publishing 的 GitHub Actions 自动发布 workflow,推送版本标签后可通过 OIDC 发布 npm 包。
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- 固定 GitHub Actions 测试时区,避免版本号测试在 UTC runner 中失败。
|
|
18
|
+
|
|
3
19
|
## 1.0.0 - 2026-06-25
|
|
4
20
|
|
|
5
21
|
### Added
|
package/README.md
CHANGED
|
@@ -338,6 +338,8 @@ npm run build
|
|
|
338
338
|
- `npm test`:运行 Node.js 测试。
|
|
339
339
|
- `npm run build`:编译 `dist/`。
|
|
340
340
|
- GitHub Actions 会在 `main` 推送和 Pull Request 上运行 `npm ci`、`lint`、`test` 和 `build`。
|
|
341
|
+
- 推送 `v*` 标签会触发 npm 自动发布 workflow。发布使用 npm Trusted Publishing,不需要长期 `NPM_TOKEN`。
|
|
342
|
+
- 发布 workflow 会在 `npm publish` 后验证 npm registry 的当前版本和 `latest`,并从 npm 重新安装当前版本做 CLI 烟测。
|
|
341
343
|
|
|
342
344
|
## 发布前检查
|
|
343
345
|
|
|
@@ -360,6 +362,7 @@ npm install -g "$PACK_DIR"/ssh-release-"$VERSION".tgz --prefix "$PACK_DIR/prefix
|
|
|
360
362
|
```
|
|
361
363
|
|
|
362
364
|
`npm publish` 会发布到 npm registry,只有确认版本号、包内容、登录账号和发布权限都正确后再执行。
|
|
365
|
+
当前仓库正式发布由 `.github/workflows/publish.yml` 执行:推送版本标签后,GitHub Actions 会校验标签版本、运行发布门禁、检查包内容并调用 `npm publish`。
|
|
363
366
|
|
|
364
367
|
完整发布步骤见 [docs/release-checklist.md](https://github.com/JackEngineer/ssh-release/blob/main/docs/release-checklist.md)。
|
|
365
368
|
|
|
@@ -374,7 +377,9 @@ GitHub Actions 发布模板见 [docs/github-actions.md](https://github.com/JackE
|
|
|
374
377
|
```text
|
|
375
378
|
CHANGELOG.md
|
|
376
379
|
.github/
|
|
377
|
-
└── workflows/
|
|
380
|
+
└── workflows/
|
|
381
|
+
├── ci.yml
|
|
382
|
+
└── publish.yml
|
|
378
383
|
src/
|
|
379
384
|
├── cli.ts
|
|
380
385
|
├── config.ts
|