@m2s2/cli 0.1.19 → 0.1.20
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 +3 -0
- package/README.md +9 -7
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -375,18 +375,20 @@ Runs on every push to `main` and every pull request.
|
|
|
375
375
|
|
|
376
376
|
### Release (`release-plz.yml` + `release.yml`)
|
|
377
377
|
|
|
378
|
-
Releases are fully automated from conventional commits — no manual tagging required.
|
|
378
|
+
Releases are fully automated from conventional commits — no PRs, no manual tagging required.
|
|
379
379
|
|
|
380
|
-
1. **
|
|
381
|
-
2. **
|
|
382
|
-
3. **Tag
|
|
380
|
+
1. **CI passes on `main`** — `release-plz.yml` triggers only after the `CI` workflow succeeds.
|
|
381
|
+
2. **Version bump** — `release-plz update` reads conventional commit history, bumps `Cargo.toml`, and updates `CHANGELOG.md`. Only `feat`, `fix`, and `perf` commits trigger a bump; `chore`, `docs`, `refactor`, and others are skipped.
|
|
382
|
+
3. **Tag pushed** — the bump is committed directly to `main` and a `vX.Y.Z` tag is pushed.
|
|
383
|
+
4. **`release.yml` (cargo-dist) triggers** — builds platform binaries in parallel:
|
|
383
384
|
- `aarch64-apple-darwin`
|
|
384
385
|
- `x86_64-apple-darwin`
|
|
385
386
|
- `aarch64-unknown-linux-gnu`
|
|
386
387
|
- `x86_64-unknown-linux-gnu`
|
|
387
388
|
- `x86_64-pc-windows-msvc`
|
|
388
|
-
|
|
389
|
-
|
|
389
|
+
5. **GitHub Release created** — all binaries, checksums, shell installer, and PowerShell installer are attached.
|
|
390
|
+
6. **`publish-npm.yml` triggers** — publishes `@m2s2/cli` to npm.
|
|
391
|
+
7. **`publish-crates.yml` triggers** — publishes `m2s2-cli` to crates.io.
|
|
390
392
|
|
|
391
393
|
### Template Sync (`template-sync.yml`)
|
|
392
394
|
|
|
@@ -405,7 +407,7 @@ When a version change is detected, the workflow opens a pull request updating th
|
|
|
405
407
|
| `APP_ID` | `release-plz.yml` | GitHub App ID for bypassing branch protection on release commits. |
|
|
406
408
|
| `APP_PRIVATE_KEY` | `release-plz.yml` | GitHub App private key. |
|
|
407
409
|
| `NPM_TOKEN` | `publish-npm.yml` | npm access token with publish rights to the `@m2s2` scope. |
|
|
408
|
-
| `CARGO_REGISTRY_TOKEN` | `
|
|
410
|
+
| `CARGO_REGISTRY_TOKEN` | `publish-crates.yml` | crates.io API token for publishing `m2s2-cli`. |
|
|
409
411
|
|
|
410
412
|
---
|
|
411
413
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"name": "@m2s2/cli",
|
|
26
|
-
"version": "0.1.
|
|
26
|
+
"version": "0.1.20"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/cliui": {
|
|
29
29
|
"engines": {
|
|
@@ -542,5 +542,5 @@
|
|
|
542
542
|
}
|
|
543
543
|
},
|
|
544
544
|
"requires": true,
|
|
545
|
-
"version": "0.1.
|
|
545
|
+
"version": "0.1.20"
|
|
546
546
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/M2S2-Engineering-Group/m2s2-cli/releases/download/v0.1.
|
|
3
|
+
"https://github.com/M2S2-Engineering-Group/m2s2-cli/releases/download/v0.1.20"
|
|
4
4
|
],
|
|
5
5
|
"author": "M²S² Engineering Group <contact@m2s2.io>",
|
|
6
6
|
"bin": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"zipExt": ".tar.xz"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
-
"version": "0.1.
|
|
98
|
+
"version": "0.1.20",
|
|
99
99
|
"volta": {
|
|
100
100
|
"node": "18.14.1",
|
|
101
101
|
"npm": "9.5.0"
|