super-release 1.9.1 → 1.11.0

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/README.md CHANGED
@@ -342,6 +342,8 @@ steps:
342
342
  options:
343
343
  filename: CHANGELOG.md
344
344
  preview_lines: 20
345
+ # template_file: templates/changelog.tera # custom git-cliff body (path)
346
+ # template: '## {{ version }}\n{% for c in commits %}- {{ c.message }}\n{% endfor %}' # or inline
345
347
 
346
348
  - name: npm
347
349
  packages: ['@acme/*'] # only publish @acme packages
@@ -372,8 +374,17 @@ steps:
372
374
  comment_on_success: true # comment on resolved PRs/issues (default: true)
373
375
  released_labels: ['released'] # labels added to them (default: ['released'])
374
376
  # success_comment: '🎉 Shipped in {releases}' # {releases} = the tags, {tag}
377
+ # template_file: templates/release.tera # custom git-cliff release body (path)
378
+ # template: '## {{ version }}...' # or inline
375
379
  ```
376
380
 
381
+ Both the `changelog` and `github` steps accept a custom [git-cliff](https://git-cliff.org/) body template
382
+ (`template` inline, or `template_file` as a repo-root-relative path; the file wins if both are set). The
383
+ `github` template additionally has GitHub data available — `commit.remote.username` / `commit.remote.pr_number`
384
+ for `@author` and PR links, `github.contributors` (with `is_first_time`) for a "New Contributors" section, and
385
+ `extra.repo_url` / `extra.tag` / `extra.previous_tag` for the compare link. Defaults: the grouped conventional
386
+ changelog for `changelog`, and that plus GitHub attribution for `github`.
387
+
377
388
  Each step can be scoped:
378
389
 
379
390
  - **`packages`** -- glob patterns to filter which packages the step operates on. If empty, the step runs for all
@@ -1 +1 @@
1
- 04e1ab4febfbac6b2c15e97bb0e90221ec9d22e4620980172b242ba44238cce8 super-release-darwin-aarch64.tar.gz
1
+ 8cabdb5ad1d539b4e7e91703cda5554dcaf986107d8252e76774a5aaf649a9bf super-release-darwin-aarch64.tar.gz
@@ -1 +1 @@
1
- 5fd17f7303c3ae36724afbd4bb5973e34ce6cd68070bcc2e1c76bd07c9b25eab super-release-darwin-x86_64.tar.gz
1
+ 90ea5a43c57dd231f7caa07230f922d845796e31a8e75870cc6c06e0f828b6b4 super-release-darwin-x86_64.tar.gz
@@ -1 +1 @@
1
- 722e466268fae8a64c091018a9f78c2f78f516905910cb3bfa8b210a1444fd7c super-release-linux-aarch64.tar.gz
1
+ 9d214507cc7246572893a785d7cb9247c2fcdc0d99d09a95602e157db918a6c0 super-release-linux-aarch64.tar.gz
@@ -1 +1 @@
1
- 1ca5015f55708b2b3c6e44f8ae94ae5059e1cfd09da38d4cb71dec2318f36da6 super-release-linux-x86_64-musl.tar.gz
1
+ 12a1d1f19fb5f89be9716cab917a78eae73545c4df30ea4a5e5d00ac6de77401 super-release-linux-x86_64-musl.tar.gz
@@ -1 +1 @@
1
- a861a37df67de4cb24f535c20646e125cf4ed5f2a145bbe75c281a90b98f48e2 super-release-linux-x86_64.tar.gz
1
+ a8fb1d1a6dbec6daabddeb002ee77715744a6e047c91ba92627105e0a74c5fb0 super-release-linux-x86_64.tar.gz
@@ -1 +1 @@
1
- E6D69F40AFCEA5DF2B19D67A33AE24FC6F4FB96F2674F5A3597C91665D83B386
1
+ AA0CD09462025969809F3FF66C7D2367E15DEFD8839C2D14857907C84899C83D
@@ -203,6 +203,14 @@
203
203
  "type": "integer",
204
204
  "default": 20,
205
205
  "description": "Max lines shown in dry-run preview"
206
+ },
207
+ "template": {
208
+ "type": "string",
209
+ "description": "Inline git-cliff body template overriding the default (grouped) format"
210
+ },
211
+ "template_file": {
212
+ "type": "string",
213
+ "description": "Path (relative to the repo root) to a git-cliff body template file. Takes precedence over 'template'."
206
214
  }
207
215
  }
208
216
  },
@@ -300,12 +308,20 @@
300
308
  },
301
309
  "success_comment": {
302
310
  "type": "string",
303
- "description": "Success-comment template. Placeholders: {releases} (the tags), {tag}."
311
+ "description": "Success-comment template. Placeholders: {releases} (markdown links to the released packages, named via release_name_template), {tag} (the first release's raw git tag)."
304
312
  },
305
313
  "released_labels": {
306
314
  "type": "array",
307
315
  "items": { "type": "string" },
308
316
  "description": "Labels to add to resolved PRs/issues. Default: [\"released\"]."
317
+ },
318
+ "template": {
319
+ "type": "string",
320
+ "description": "Inline git-cliff body template for the release notes, overriding the default (grouped + attribution) format"
321
+ },
322
+ "template_file": {
323
+ "type": "string",
324
+ "description": "Path (relative to the repo root) to a git-cliff body template file. Takes precedence over 'template'."
309
325
  }
310
326
  }
311
327
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-release",
3
- "version": "1.9.1",
3
+ "version": "1.11.0",
4
4
  "description": "A fast semantic-release alternative for monorepos, written in Rust",
5
5
  "keywords": [
6
6
  "changelog",
@@ -28,11 +28,11 @@
28
28
  "provenance": true
29
29
  },
30
30
  "optionalDependencies": {
31
- "super-release-darwin-arm64": "1.7.1",
32
- "super-release-darwin-x64": "1.7.1",
33
- "super-release-linux-arm64": "1.7.1",
34
- "super-release-linux-x64": "1.7.1",
35
- "super-release-windows-x64": "1.7.1"
31
+ "super-release-darwin-arm64": "1.9.0",
32
+ "super-release-darwin-x64": "1.9.0",
33
+ "super-release-linux-x64": "1.9.0",
34
+ "super-release-windows-x64": "1.9.0",
35
+ "super-release-linux-arm64": "1.9.0"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=20"