semantic-release 24.1.2 → 24.2.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.
@@ -159,6 +159,8 @@
159
159
  - `verifyConditions`: Verify plugin configuration and login to Helm registry
160
160
  - `prepare`: Package Helm chart to local folder
161
161
  - `publish`: Publish Helm chart to OCI registry
162
+ - [semantic-release-mirror-version](https://github.com/GarthDB/semantic-release-mirror-version)
163
+ - `prepare`: Update the version number in any file that matches the defined [file glob](https://github.com/isaacs/node-glob).
162
164
  - [semantic-release-space](https://github.com/123FLO321/semantic-release-space)
163
165
  - `verifyConditions` Verifies that all required options are set.
164
166
  - `prepare` Creates a JetBrains Space Deployment Target if it does not yet exist.
@@ -200,3 +202,6 @@
200
202
  - `generateNotes` Generates release notes using [GitHub release notes generator](https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes).
201
203
  - [semantic-release-commits-lint](https://github.com/BondarenkoAlex/semantic-release-commits-lint)
202
204
  - `analyzeCommits` Analyzing commit messages by [commitlint](https://github.com/conventional-changelog/commitlint).
205
+ - [semantic-release-kaniko](https://github.com/brendangeck/semantic-release-kaniko)
206
+ - `verifyConditions`: Verify that all needed configuration is present and login to the Docker registry.
207
+ - `publish`: Build a container image using [Kaniko](https://github.com/GoogleContainerTools/kaniko) and (optionally) push it to a Docker registry.
@@ -227,7 +227,7 @@ export function EMAINTENANCEBRANCHES({ branches }) {
227
227
  message: "The maintenance branches are invalid in the `branches` configuration.",
228
228
  details: `Each maintenance branch in the [branches configuration](${linkify(
229
229
  "docs/usage/configuration.md#branches"
230
- )}) must have a unique \`range\` property.
230
+ )}) must have a unique \`range\` property and must exist on the remote repository.
231
231
 
232
232
  Your configuration for the problematic branches is \`${stringify(branches)}\`.`,
233
233
  };
@@ -238,7 +238,7 @@ export function ERELEASEBRANCHES({ branches }) {
238
238
  message: "The release branches are invalid in the `branches` configuration.",
239
239
  details: `A minimum of 1 and a maximum of 3 release branches are required in the [branches configuration](${linkify(
240
240
  "docs/usage/configuration.md#branches"
241
- )}).
241
+ )}). These branches must exist on the remote repository.
242
242
 
243
243
  This may occur if your repository does not have a release branch, such as \`master\` or \`main\`.
244
244
 
@@ -251,7 +251,7 @@ export function EPRERELEASEBRANCH({ branch }) {
251
251
  message: "A pre-release branch configuration is invalid in the `branches` configuration.",
252
252
  details: `Each pre-release branch in the [branches configuration](${linkify(
253
253
  "docs/usage/configuration.md#branches"
254
- )}) must have a \`prerelease\` property valid per the [Semantic Versioning Specification](https://semver.org/#spec-item-9). If the \`prerelease\` property is set to \`true\`, then the \`name\` property is used instead.
254
+ )}) must have a \`prerelease\` property valid per the [Semantic Versioning Specification](https://semver.org/#spec-item-9). If the \`prerelease\` property is set to \`true\`, then the \`name\` property is used instead. Additionally, each pre-release branch must exist on the remote repository.
255
255
 
256
256
  Your configuration for the problematic branch is \`${stringify(branch)}\`.`,
257
257
  };
package/lib/utils.js CHANGED
@@ -27,7 +27,7 @@ export function isMajorRange(range) {
27
27
  }
28
28
 
29
29
  export function isMaintenanceRange(range) {
30
- return /^\d+\.(?:\d+|x)(?:\.x)?$/i.test(range);
30
+ return /^\d+(?:\.(?:\d+|x))?\.x$/i.test(range);
31
31
  }
32
32
 
33
33
  export function getUpperBound(range) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "semantic-release",
3
3
  "description": "Automated semver compliant package publishing",
4
- "version": "24.1.2",
4
+ "version": "24.2.0",
5
5
  "type": "module",
6
6
  "author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
7
7
  "ava": {
@@ -66,16 +66,16 @@
66
66
  "dockerode": "4.0.2",
67
67
  "file-url": "4.0.0",
68
68
  "fs-extra": "11.2.0",
69
- "got": "14.4.2",
69
+ "got": "14.4.3",
70
70
  "js-yaml": "4.1.0",
71
71
  "lockfile-lint": "4.14.0",
72
72
  "ls-engines": "0.9.3",
73
73
  "mockserver-client": "5.15.0",
74
74
  "nock": "13.5.5",
75
- "npm-run-all2": "6.2.3",
75
+ "npm-run-all2": "7.0.1",
76
76
  "p-retry": "6.2.0",
77
77
  "prettier": "3.3.3",
78
- "publint": "0.2.11",
78
+ "publint": "0.2.12",
79
79
  "sinon": "19.0.2",
80
80
  "stream-buffers": "3.0.3",
81
81
  "tempy": "3.1.0",
@@ -162,5 +162,5 @@
162
162
  "github>semantic-release/.github:renovate-config"
163
163
  ]
164
164
  },
165
- "packageManager": "npm@10.8.3"
165
+ "packageManager": "npm@10.9.0"
166
166
  }