@diafunc/cli 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +13 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -159,13 +159,23 @@ The first publish must be done manually (run `npm publish` locally) to create th
159
159
 
160
160
  ### Cutting a release
161
161
 
162
+ **Option A — from the terminal:**
163
+
162
164
  ```bash
163
- # 1. Bump the version in package.json, then commit
164
- npm version patch # or minor / major — creates commit + tag
165
+ npm version patch # or minor / major — bumps package.json, commits, creates tag
165
166
  git push origin main --follow-tags
166
167
  ```
167
168
 
168
- Pushing a tag matching `vX.Y.Z` triggers the `publish` CI job, which builds and publishes to npm via OIDC. npm automatically generates [provenance attestations](https://docs.npmjs.com/generating-provenance-statements) linking the published package back to the exact git commit.
169
+ **Option B — from the GitLab UI:**
170
+
171
+ 1. First bump `package.json` `version` via a small MR (or direct commit to `main`).
172
+ 2. Go to https://gitlab.com/diafunc/cli/-/releases/new and create a new release with tag `v<version>` from `main`.
173
+
174
+ Either way, pushing a `vX.Y.Z` tag triggers two CI jobs:
175
+ - `publish` — builds and publishes to npm via OIDC trusted publishing (npm generates [provenance attestations](https://docs.npmjs.com/generating-provenance-statements) automatically)
176
+ - `gitlab-release` — creates a GitLab Release entry linking to the npm package
177
+
178
+ No manual steps after the tag push.
169
179
 
170
180
  ## License
171
181
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diafunc/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Diafunc CLI — command-line interface for the Diafunc platform",
5
5
  "type": "module",
6
6
  "bin": {