super-release 1.9.0 → 1.10.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
- cb728b46cf84f0bf9793982e8e1142f04717563a092fd7ce172947395d2031a0 super-release-darwin-aarch64.tar.gz
1
+ 39c0bac3f99b51667a9d92413802b2e4d80d3e410c2705e2d0f38869bf649a93 super-release-darwin-aarch64.tar.gz
@@ -1 +1 @@
1
- 54d282d40d88f3750a7485a5603bc851d209dca9ff2111a398fe9510232de083 super-release-darwin-x86_64.tar.gz
1
+ 370be7768e12fd39742e8779c73d57e161fbd92b083b492345f5115269447143 super-release-darwin-x86_64.tar.gz
@@ -1 +1 @@
1
- 470913d868f609a844cf27a64e35138aa5810e31de89659bffedfb0c0ec9e04c super-release-linux-aarch64.tar.gz
1
+ cc6ab83faab57fae5efb01aa703c4fe3324fc95169794030ad93f0781e17a57d super-release-linux-aarch64.tar.gz
@@ -1 +1 @@
1
- 0726658457d8c9dd6e6a0c634e3801106298b9d137fd08b2dbe349f84ad88aa5 super-release-linux-x86_64-musl.tar.gz
1
+ 1f9dbffbb616a5da3109348222f3a783923a5ed9b29f27282c5d22007c5a34bd super-release-linux-x86_64-musl.tar.gz
@@ -1 +1 @@
1
- 196bd7bb20ded3bcd7df6d901f77c16910eb7bca8d5978078fab93ce14e6a930 super-release-linux-x86_64.tar.gz
1
+ f0319f7dc931994fc916db6c07d88ba03ed924eeff52fbcd88a857280232868f super-release-linux-x86_64.tar.gz
@@ -1 +1 @@
1
- 25D08F5932DEBF5362192FAEFEB5980C06D6DBC358DC8A0B27D56AD9D6446C72
1
+ FD8877F436737F46F0D4389948F29E510C0AE79DE08DA7B7835435B76AF05E86
@@ -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
  },
@@ -306,6 +314,14 @@
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.0",
3
+ "version": "1.10.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.0",
32
- "super-release-linux-arm64": "1.7.0",
33
- "super-release-windows-x64": "1.7.0",
34
- "super-release-darwin-x64": "1.7.0",
35
- "super-release-linux-x64": "1.7.0"
31
+ "super-release-linux-arm64": "1.8.0",
32
+ "super-release-linux-x64": "1.8.0",
33
+ "super-release-windows-x64": "1.8.0",
34
+ "super-release-darwin-arm64": "1.8.0",
35
+ "super-release-darwin-x64": "1.8.0"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=20"