@storm-software/git-tools 2.97.2 → 2.98.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/bin/git.cjs +16 -4
- package/bin/git.js +16 -4
- package/package.json +1 -1
package/bin/git.cjs
CHANGED
|
@@ -84801,11 +84801,16 @@ function createAPI(overrideReleaseConfig) {
|
|
|
84801
84801
|
});
|
|
84802
84802
|
if (workspaceChangelog && shouldCreateGitHubRelease(nxReleaseConfig.changelog.workspaceChangelog, args.createRelease)) {
|
|
84803
84803
|
postGitTasks.push(async (latestCommit) => {
|
|
84804
|
-
|
|
84805
|
-
|
|
84804
|
+
const contents = formatGithubReleaseNotes(workspaceChangelog.contents, workspaceConfig);
|
|
84805
|
+
_output.output.logSingleLine(`Creating GitHub Release
|
|
84806
|
+
|
|
84807
|
+
${contents}`);
|
|
84808
|
+
await _github.createOrUpdateGithubRelease.call(void 0, nxReleaseConfig.changelog.workspaceChangelog ? nxReleaseConfig.changelog.workspaceChangelog.createRelease : _config3.defaultCreateReleaseProvider, workspaceChangelog.releaseVersion, contents, latestCommit, {
|
|
84806
84809
|
dryRun: !!args.dryRun
|
|
84807
84810
|
});
|
|
84808
84811
|
});
|
|
84812
|
+
} else {
|
|
84813
|
+
_output.output.logSingleLine(`Skipping GitHub Release for workspace changelog as it is disabled in the release group configuration`);
|
|
84809
84814
|
}
|
|
84810
84815
|
const projectToAdditionalDependencyBumps = /* @__PURE__ */ new Map();
|
|
84811
84816
|
for (const releaseGroup of releaseGroups) {
|
|
@@ -84927,11 +84932,16 @@ function createAPI(overrideReleaseConfig) {
|
|
|
84927
84932
|
for (const [projectName, projectChangelog] of Object.entries(projectChangelogs)) {
|
|
84928
84933
|
if (projectChangelogs && shouldCreateGitHubRelease(releaseGroup.changelog, args.createRelease)) {
|
|
84929
84934
|
postGitTasks.push(async (latestCommit) => {
|
|
84930
|
-
|
|
84931
|
-
|
|
84935
|
+
const contents = formatGithubReleaseNotes(projectChangelog.contents, workspaceConfig);
|
|
84936
|
+
_output.output.logSingleLine(`Creating GitHub Release
|
|
84937
|
+
|
|
84938
|
+
${contents}`);
|
|
84939
|
+
await _github.createOrUpdateGithubRelease.call(void 0, releaseGroup.changelog ? releaseGroup.changelog.createRelease : _config3.defaultCreateReleaseProvider, projectChangelog.releaseVersion, contents, latestCommit, {
|
|
84932
84940
|
dryRun: !!args.dryRun
|
|
84933
84941
|
});
|
|
84934
84942
|
});
|
|
84943
|
+
} else {
|
|
84944
|
+
_output.output.logSingleLine(`Skipping GitHub Release for ${projectName} as it is disabled in the release group configuration`);
|
|
84935
84945
|
}
|
|
84936
84946
|
allProjectChangelogs[projectName] = projectChangelog;
|
|
84937
84947
|
}
|
|
@@ -85030,6 +85040,8 @@ function createAPI(overrideReleaseConfig) {
|
|
|
85030
85040
|
dryRun: !!args.dryRun
|
|
85031
85041
|
});
|
|
85032
85042
|
});
|
|
85043
|
+
} else {
|
|
85044
|
+
_output.output.logSingleLine(`Skipping GitHub Release for ${projectName} as it is disabled in the release group configuration`);
|
|
85033
85045
|
}
|
|
85034
85046
|
allProjectChangelogs[projectName] = projectChangelog;
|
|
85035
85047
|
}
|
package/bin/git.js
CHANGED
|
@@ -84800,11 +84800,16 @@ function createAPI(overrideReleaseConfig) {
|
|
|
84800
84800
|
});
|
|
84801
84801
|
if (workspaceChangelog && shouldCreateGitHubRelease(nxReleaseConfig.changelog.workspaceChangelog, args.createRelease)) {
|
|
84802
84802
|
postGitTasks.push(async (latestCommit) => {
|
|
84803
|
-
|
|
84804
|
-
|
|
84803
|
+
const contents = formatGithubReleaseNotes(workspaceChangelog.contents, workspaceConfig);
|
|
84804
|
+
output.logSingleLine(`Creating GitHub Release
|
|
84805
|
+
|
|
84806
|
+
${contents}`);
|
|
84807
|
+
await createOrUpdateGithubRelease(nxReleaseConfig.changelog.workspaceChangelog ? nxReleaseConfig.changelog.workspaceChangelog.createRelease : defaultCreateReleaseProvider, workspaceChangelog.releaseVersion, contents, latestCommit, {
|
|
84805
84808
|
dryRun: !!args.dryRun
|
|
84806
84809
|
});
|
|
84807
84810
|
});
|
|
84811
|
+
} else {
|
|
84812
|
+
output.logSingleLine(`Skipping GitHub Release for workspace changelog as it is disabled in the release group configuration`);
|
|
84808
84813
|
}
|
|
84809
84814
|
const projectToAdditionalDependencyBumps = /* @__PURE__ */ new Map();
|
|
84810
84815
|
for (const releaseGroup of releaseGroups) {
|
|
@@ -84926,11 +84931,16 @@ function createAPI(overrideReleaseConfig) {
|
|
|
84926
84931
|
for (const [projectName, projectChangelog] of Object.entries(projectChangelogs)) {
|
|
84927
84932
|
if (projectChangelogs && shouldCreateGitHubRelease(releaseGroup.changelog, args.createRelease)) {
|
|
84928
84933
|
postGitTasks.push(async (latestCommit) => {
|
|
84929
|
-
|
|
84930
|
-
|
|
84934
|
+
const contents = formatGithubReleaseNotes(projectChangelog.contents, workspaceConfig);
|
|
84935
|
+
output.logSingleLine(`Creating GitHub Release
|
|
84936
|
+
|
|
84937
|
+
${contents}`);
|
|
84938
|
+
await createOrUpdateGithubRelease(releaseGroup.changelog ? releaseGroup.changelog.createRelease : defaultCreateReleaseProvider, projectChangelog.releaseVersion, contents, latestCommit, {
|
|
84931
84939
|
dryRun: !!args.dryRun
|
|
84932
84940
|
});
|
|
84933
84941
|
});
|
|
84942
|
+
} else {
|
|
84943
|
+
output.logSingleLine(`Skipping GitHub Release for ${projectName} as it is disabled in the release group configuration`);
|
|
84934
84944
|
}
|
|
84935
84945
|
allProjectChangelogs[projectName] = projectChangelog;
|
|
84936
84946
|
}
|
|
@@ -85029,6 +85039,8 @@ function createAPI(overrideReleaseConfig) {
|
|
|
85029
85039
|
dryRun: !!args.dryRun
|
|
85030
85040
|
});
|
|
85031
85041
|
});
|
|
85042
|
+
} else {
|
|
85043
|
+
output.logSingleLine(`Skipping GitHub Release for ${projectName} as it is disabled in the release group configuration`);
|
|
85032
85044
|
}
|
|
85033
85045
|
allProjectChangelogs[projectName] = projectChangelog;
|
|
85034
85046
|
}
|