semantic-release 24.1.3 → 24.2.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.
|
@@ -133,6 +133,9 @@
|
|
|
133
133
|
- `verifyConditions`: Verify the environment variable `PYPI_TOKEN` and installation of build tools
|
|
134
134
|
- `prepare`: Update the version in `setup.cfg` and create the distribution packages
|
|
135
135
|
- `publish`: Publish the python package to a repository (default: pypi)
|
|
136
|
+
- [@covage/semantic-release-poetry-plugin](https://github.com/covage/semantic-release-poetry-plugin)
|
|
137
|
+
- `verifyConditions`: Verify the presence and validity of `pyproject.toml` file.
|
|
138
|
+
- `prepare`: Update the version in `pyproject.toml`.
|
|
136
139
|
- [semantic-release-codeartifact](https://github.com/ryansonshine/semantic-release-codeartifact)
|
|
137
140
|
- `verifyConditions`: Validate configuration, get AWS CodeArtifact authentication and repository, validate `publishConfig` or `.npmrc` (if they exist), then pass the configuration to the associated plugins.
|
|
138
141
|
- [semantic-release-telegram](https://github.com/pustovitDmytro/semantic-release-telegram)
|
|
@@ -202,3 +205,6 @@
|
|
|
202
205
|
- `generateNotes` Generates release notes using [GitHub release notes generator](https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes).
|
|
203
206
|
- [semantic-release-commits-lint](https://github.com/BondarenkoAlex/semantic-release-commits-lint)
|
|
204
207
|
- `analyzeCommits` Analyzing commit messages by [commitlint](https://github.com/conventional-changelog/commitlint).
|
|
208
|
+
- [semantic-release-kaniko](https://github.com/brendangeck/semantic-release-kaniko)
|
|
209
|
+
- `verifyConditions`: Verify that all needed configuration is present and login to the Docker registry.
|
|
210
|
+
- `publish`: Build a container image using [Kaniko](https://github.com/GoogleContainerTools/kaniko) and (optionally) push it to a Docker registry.
|
|
@@ -43,11 +43,11 @@ jobs:
|
|
|
43
43
|
id-token: write # to enable use of OIDC for npm provenance
|
|
44
44
|
steps:
|
|
45
45
|
- name: Checkout
|
|
46
|
-
uses: actions/checkout@
|
|
46
|
+
uses: actions/checkout@v4
|
|
47
47
|
with:
|
|
48
48
|
fetch-depth: 0
|
|
49
49
|
- name: Setup Node.js
|
|
50
|
-
uses: actions/setup-node@
|
|
50
|
+
uses: actions/setup-node@v4
|
|
51
51
|
with:
|
|
52
52
|
node-version: "lts/*"
|
|
53
53
|
- name: Install dependencies
|
|
@@ -9,7 +9,7 @@ Here are a few examples of the CI services that can be used to achieve this:
|
|
|
9
9
|
- [CircleCI Workflows](https://circleci.com/docs/2.0/workflows)
|
|
10
10
|
- [GitHub Actions](https://github.com/features/actions)
|
|
11
11
|
- [Codeship Deployment Pipelines](https://documentation.codeship.com/basic/builds-and-configuration/deployment-pipelines)
|
|
12
|
-
- [GitLab Pipelines](https://docs.gitlab.com/
|
|
12
|
+
- [GitLab Pipelines](https://docs.gitlab.com/ee/ci/pipelines/)
|
|
13
13
|
- [Codefresh Pipelines](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines)
|
|
14
14
|
- [Wercker Workflows](http://devcenter.wercker.com/docs/workflows)
|
|
15
15
|
- [GoCD Pipelines](https://docs.gocd.org/current/introduction/concepts_in_go.html#pipeline).
|
|
@@ -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/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
|
|
4
|
+
"version": "24.2.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
|
|
7
7
|
"ava": {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"!test/e2e.test.js"
|
|
12
12
|
],
|
|
13
13
|
"nodeArguments": [
|
|
14
|
-
"--loader=testdouble",
|
|
15
14
|
"--no-warnings"
|
|
16
15
|
],
|
|
17
16
|
"timeout": "2m"
|
|
@@ -44,7 +43,7 @@
|
|
|
44
43
|
"git-log-parser": "^1.2.0",
|
|
45
44
|
"hook-std": "^3.0.0",
|
|
46
45
|
"hosted-git-info": "^8.0.0",
|
|
47
|
-
"import-from-esm": "^
|
|
46
|
+
"import-from-esm": "^2.0.0",
|
|
48
47
|
"lodash-es": "^4.17.21",
|
|
49
48
|
"marked": "^12.0.0",
|
|
50
49
|
"marked-terminal": "^7.0.0",
|
|
@@ -59,23 +58,23 @@
|
|
|
59
58
|
"yargs": "^17.5.1"
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|
|
62
|
-
"ava": "6.
|
|
63
|
-
"c8": "10.1.
|
|
61
|
+
"ava": "6.2.0",
|
|
62
|
+
"c8": "10.1.3",
|
|
64
63
|
"clear-module": "4.1.2",
|
|
65
64
|
"cz-conventional-changelog": "3.3.0",
|
|
66
65
|
"dockerode": "4.0.2",
|
|
67
66
|
"file-url": "4.0.0",
|
|
68
67
|
"fs-extra": "11.2.0",
|
|
69
|
-
"got": "14.4.
|
|
68
|
+
"got": "14.4.5",
|
|
70
69
|
"js-yaml": "4.1.0",
|
|
71
70
|
"lockfile-lint": "4.14.0",
|
|
72
71
|
"ls-engines": "0.9.3",
|
|
73
72
|
"mockserver-client": "5.15.0",
|
|
74
|
-
"nock": "13.5.
|
|
75
|
-
"npm-run-all2": "
|
|
76
|
-
"p-retry": "6.2.
|
|
77
|
-
"prettier": "3.
|
|
78
|
-
"publint": "0.2.
|
|
73
|
+
"nock": "13.5.6",
|
|
74
|
+
"npm-run-all2": "7.0.2",
|
|
75
|
+
"p-retry": "6.2.1",
|
|
76
|
+
"prettier": "3.4.2",
|
|
77
|
+
"publint": "0.2.12",
|
|
79
78
|
"sinon": "19.0.2",
|
|
80
79
|
"stream-buffers": "3.0.3",
|
|
81
80
|
"tempy": "3.1.0",
|
|
@@ -152,7 +151,7 @@
|
|
|
152
151
|
"lint:engines": "ls-engines",
|
|
153
152
|
"lint:publish": "publint --strict",
|
|
154
153
|
"semantic-release": "./bin/semantic-release.js",
|
|
155
|
-
"test": "npm-run-all --print-label --parallel lint:* --
|
|
154
|
+
"test": "npm-run-all --print-label --parallel lint:* --serial test:*",
|
|
156
155
|
"test:unit": "c8 ava --verbose",
|
|
157
156
|
"test:integration": "ava --verbose test/integration.test.js",
|
|
158
157
|
"test:e2e": "ava --verbose test/e2e.test.js"
|
|
@@ -162,5 +161,5 @@
|
|
|
162
161
|
"github>semantic-release/.github:renovate-config"
|
|
163
162
|
]
|
|
164
163
|
},
|
|
165
|
-
"packageManager": "npm@
|
|
164
|
+
"packageManager": "npm@11.0.0"
|
|
166
165
|
}
|