super-release 1.13.2 → 1.15.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
@@ -89,6 +89,19 @@ version and rendered release notes (needs `pull-requests: write`):
89
89
  GITHUB_TOKEN: ${{ github.token }}
90
90
  ```
91
91
 
92
+ The preview is evaluated against the PR's base branch. When PRs target an
93
+ integration branch (say `develop`) that is later merged into the release branch,
94
+ set `base` to the branch the release will actually run from:
95
+
96
+ ```yaml
97
+ - uses: bowlingx/super-release@v1
98
+ with:
99
+ preview: true
100
+ base: main
101
+ env:
102
+ GITHUB_TOKEN: ${{ github.token }}
103
+ ```
104
+
92
105
  ### Inputs
93
106
 
94
107
  | Input | Default | Description |
@@ -98,6 +111,7 @@ version and rendered release notes (needs `pull-requests: write`):
98
111
  | `preview` | `false` | Post/update a PR preview comment instead of releasing. |
99
112
  | `config` | | Path to the config file (default `.release.yaml`). |
100
113
  | `package` | | Filter to a specific package. |
114
+ | `base` | | Base branch for `preview` (default: the PR base). |
101
115
  | `working-directory` | | Repository root to operate on. |
102
116
  | `dangerously-skip-config-check` | `false` | Skip config-schema validation. |
103
117
  | `args` | | Extra raw CLI flags (escape hatch). |
@@ -541,6 +555,9 @@ The git step:
541
555
 
542
556
  Tags are idempotent -- existing tags are skipped. The npm step checks the registry before publishing (`npm view`) and
543
557
  skips versions that already exist. Non-404 errors (auth, network) abort the release to prevent partial publishes.
558
+ A publish the registry rejects as already published (`cannot publish over the previously published versions`) is also
559
+ treated as skipped; this is how already-published private packages are detected when `npm view` has no read access,
560
+ for example with trusted publishing and no `NODE_AUTH_TOKEN`.
544
561
 
545
562
  ## Monorepo Support
546
563
 
@@ -1 +1 @@
1
- d02ee5721170fbf1a345a5d5ca9941d9cec1756c2b9dd4783c28bb416308b593 super-release-darwin-aarch64.tar.gz
1
+ ffcf7f4115e9f03dff7357afaf1032c8d147143c4b2d235c2218b52c889b74b8 super-release-darwin-aarch64.tar.gz
@@ -1 +1 @@
1
- d6dce6959e826e821638be68c7c5b1c683530331c5d74df9d32084b6a9bd80f9 super-release-darwin-x86_64.tar.gz
1
+ 39804eda13136b4463f72a650bea4c536b6deb920129ee8f75cc7f14dba8f784 super-release-darwin-x86_64.tar.gz
@@ -1 +1 @@
1
- 5ffc26a2bb108ded12a239518a088a1a362e4d3c245e3721884fabe8bef6f2c7 super-release-linux-aarch64-musl.tar.gz
1
+ 3754fd256638d07a1d165ee07878c3876333ba1cbc0bf6bae1c38732a9716451 super-release-linux-aarch64-musl.tar.gz
@@ -1 +1 @@
1
- 38de9813a79ba6c5a9ba1318a5cd80c9cd2015634ebf5afb666fdecc213deec5 super-release-linux-aarch64.tar.gz
1
+ 0111030eed06be53254f16aef0c480dcc86943b1eee080be6ac7129835bbd61d super-release-linux-aarch64.tar.gz
@@ -1 +1 @@
1
- 39727442d89bee1b945c01a2c5741d933beb27292ef4a47ae3dc9413dae05b8a super-release-linux-x86_64-musl.tar.gz
1
+ f7b4506d5705cac44a0f060af683de69e9cb61fca8aaef45c904918991524ac0 super-release-linux-x86_64-musl.tar.gz
@@ -1 +1 @@
1
- dca4cb7eaa831a26bd6e72fc3f95aa3b0ff3930d42a72d45f91fca70504a1c39 super-release-linux-x86_64.tar.gz
1
+ 1caac9d8393bb18e7042a6ba5d59dad965d3e4199ca430163d9e826bd5293749 super-release-linux-x86_64.tar.gz
@@ -1 +1 @@
1
- 5BB9B3972BCACA595097A363DD70F7B9A0FC779E94567CBA9530F5E1961B9BD5
1
+ C7D51198943AA682D1AFFFD2D08C40A68F0D2CEC7AB4BD354C5BAC60F7B07477
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-release",
3
- "version": "1.13.2",
3
+ "version": "1.15.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.11.2",
32
- "super-release-linux-arm64": "1.11.2",
33
- "super-release-windows-x64": "1.11.2",
34
- "super-release-linux-x64": "1.11.2",
35
- "super-release-darwin-x64": "1.11.2"
31
+ "super-release-darwin-arm64": "1.13.0",
32
+ "super-release-darwin-x64": "1.13.0",
33
+ "super-release-linux-x64": "1.13.0",
34
+ "super-release-windows-x64": "1.13.0",
35
+ "super-release-linux-arm64": "1.13.0"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=20"