@releasekit/release 0.10.2 → 0.10.3
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/dist/cli.js +12 -14
- package/dist/dispatcher.js +12 -14
- package/dist/index.js +12 -14
- package/package.json +4 -4
package/dist/cli.js
CHANGED
|
@@ -46955,20 +46955,18 @@ async function runRelease(inputOptions) {
|
|
|
46955
46955
|
const releaseConfig = releaseKitConfig.release;
|
|
46956
46956
|
const ciConfig = loadCIConfig({ cwd: options.projectDir, configPath: options.config });
|
|
46957
46957
|
let effectiveTarget = options.target;
|
|
46958
|
-
|
|
46959
|
-
|
|
46960
|
-
|
|
46961
|
-
|
|
46962
|
-
|
|
46963
|
-
|
|
46964
|
-
|
|
46965
|
-
|
|
46966
|
-
|
|
46967
|
-
|
|
46968
|
-
|
|
46969
|
-
|
|
46970
|
-
effectiveTarget = scopeResult.target;
|
|
46971
|
-
}
|
|
46958
|
+
const scopeResult = await applyScopeLabelsFromPR(ciConfig, options);
|
|
46959
|
+
if (scopeResult.blocked) {
|
|
46960
|
+
info("Release blocked due to conflicting PR labels");
|
|
46961
|
+
return null;
|
|
46962
|
+
}
|
|
46963
|
+
if (scopeResult.skipped) {
|
|
46964
|
+
info("Release skipped due to release:skip label");
|
|
46965
|
+
return null;
|
|
46966
|
+
}
|
|
46967
|
+
if (!options.dryRun && scopeResult.target !== options.target) {
|
|
46968
|
+
info(`Scope labels override target: ${options.target} \u2192 ${scopeResult.target}`);
|
|
46969
|
+
effectiveTarget = scopeResult.target;
|
|
46972
46970
|
}
|
|
46973
46971
|
if (releaseConfig?.ci?.skipPatterns?.length) {
|
|
46974
46972
|
const headCommit = getHeadCommitMessage(options.projectDir);
|
package/dist/dispatcher.js
CHANGED
|
@@ -47007,20 +47007,18 @@ async function runRelease(inputOptions) {
|
|
|
47007
47007
|
const releaseConfig = releaseKitConfig.release;
|
|
47008
47008
|
const ciConfig = loadCIConfig({ cwd: options.projectDir, configPath: options.config });
|
|
47009
47009
|
let effectiveTarget = options.target;
|
|
47010
|
-
|
|
47011
|
-
|
|
47012
|
-
|
|
47013
|
-
|
|
47014
|
-
|
|
47015
|
-
|
|
47016
|
-
|
|
47017
|
-
|
|
47018
|
-
|
|
47019
|
-
|
|
47020
|
-
|
|
47021
|
-
|
|
47022
|
-
effectiveTarget = scopeResult.target;
|
|
47023
|
-
}
|
|
47010
|
+
const scopeResult = await applyScopeLabelsFromPR(ciConfig, options);
|
|
47011
|
+
if (scopeResult.blocked) {
|
|
47012
|
+
info("Release blocked due to conflicting PR labels");
|
|
47013
|
+
return null;
|
|
47014
|
+
}
|
|
47015
|
+
if (scopeResult.skipped) {
|
|
47016
|
+
info("Release skipped due to release:skip label");
|
|
47017
|
+
return null;
|
|
47018
|
+
}
|
|
47019
|
+
if (!options.dryRun && scopeResult.target !== options.target) {
|
|
47020
|
+
info(`Scope labels override target: ${options.target} \u2192 ${scopeResult.target}`);
|
|
47021
|
+
effectiveTarget = scopeResult.target;
|
|
47024
47022
|
}
|
|
47025
47023
|
if (releaseConfig?.ci?.skipPatterns?.length) {
|
|
47026
47024
|
const headCommit = getHeadCommitMessage(options.projectDir);
|
package/dist/index.js
CHANGED
|
@@ -46921,20 +46921,18 @@ async function runRelease(inputOptions) {
|
|
|
46921
46921
|
const releaseConfig = releaseKitConfig.release;
|
|
46922
46922
|
const ciConfig = loadCIConfig({ cwd: options.projectDir, configPath: options.config });
|
|
46923
46923
|
let effectiveTarget = options.target;
|
|
46924
|
-
|
|
46925
|
-
|
|
46926
|
-
|
|
46927
|
-
|
|
46928
|
-
|
|
46929
|
-
|
|
46930
|
-
|
|
46931
|
-
|
|
46932
|
-
|
|
46933
|
-
|
|
46934
|
-
|
|
46935
|
-
|
|
46936
|
-
effectiveTarget = scopeResult.target;
|
|
46937
|
-
}
|
|
46924
|
+
const scopeResult = await applyScopeLabelsFromPR(ciConfig, options);
|
|
46925
|
+
if (scopeResult.blocked) {
|
|
46926
|
+
info("Release blocked due to conflicting PR labels");
|
|
46927
|
+
return null;
|
|
46928
|
+
}
|
|
46929
|
+
if (scopeResult.skipped) {
|
|
46930
|
+
info("Release skipped due to release:skip label");
|
|
46931
|
+
return null;
|
|
46932
|
+
}
|
|
46933
|
+
if (!options.dryRun && scopeResult.target !== options.target) {
|
|
46934
|
+
info(`Scope labels override target: ${options.target} \u2192 ${scopeResult.target}`);
|
|
46935
|
+
effectiveTarget = scopeResult.target;
|
|
46938
46936
|
}
|
|
46939
46937
|
if (releaseConfig?.ci?.skipPatterns?.length) {
|
|
46940
46938
|
const headCommit = getHeadCommitMessage(options.projectDir);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@releasekit/release",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"description": "Unified release pipeline: version, changelog, and publish in a single command",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"conventional-changelog-conventionalcommits": "^9.3.0",
|
|
51
51
|
"smol-toml": "^1.6.1",
|
|
52
52
|
"zod": "^4.3.6",
|
|
53
|
-
"@releasekit/notes": "0.10.
|
|
54
|
-
"@releasekit/
|
|
55
|
-
"@releasekit/
|
|
53
|
+
"@releasekit/notes": "0.10.3",
|
|
54
|
+
"@releasekit/publish": "0.10.3",
|
|
55
|
+
"@releasekit/version": "0.10.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@biomejs/biome": "^2.4.10",
|