@storm-software/git-tools 2.113.38 → 2.114.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.
- package/README.md +2 -1
- package/bin/git.cjs +13 -0
- package/bin/git.js +13 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Git Tools](#storm-git-tools)
|
package/bin/git.cjs
CHANGED
|
@@ -2848,6 +2848,19 @@ async function syncGithubRelease(githubRequestConfig, release, existingGithubRel
|
|
|
2848
2848
|
url: newGhRelease.html_url
|
|
2849
2849
|
};
|
|
2850
2850
|
} catch (error) {
|
|
2851
|
+
if (process.env.CI) {
|
|
2852
|
+
console.error(
|
|
2853
|
+
`An error occurred while trying to create a release on GitHub, please report this on https://github.com/storm-software/storm-ops (NOTE: make sure to redact your GitHub token from the error message!): ${typeof error?.message === "string" ? error?.message : `
|
|
2854
|
+
|
|
2855
|
+
${error}`}`
|
|
2856
|
+
);
|
|
2857
|
+
throw new Error(
|
|
2858
|
+
"`An error occurred while trying to create a release on GitHub in a CI environment",
|
|
2859
|
+
{
|
|
2860
|
+
cause: error
|
|
2861
|
+
}
|
|
2862
|
+
);
|
|
2863
|
+
}
|
|
2851
2864
|
return {
|
|
2852
2865
|
status: "manual",
|
|
2853
2866
|
error,
|
package/bin/git.js
CHANGED
|
@@ -2831,6 +2831,19 @@ async function syncGithubRelease(githubRequestConfig, release, existingGithubRel
|
|
|
2831
2831
|
url: newGhRelease.html_url
|
|
2832
2832
|
};
|
|
2833
2833
|
} catch (error) {
|
|
2834
|
+
if (process.env.CI) {
|
|
2835
|
+
console.error(
|
|
2836
|
+
`An error occurred while trying to create a release on GitHub, please report this on https://github.com/storm-software/storm-ops (NOTE: make sure to redact your GitHub token from the error message!): ${typeof error?.message === "string" ? error?.message : `
|
|
2837
|
+
|
|
2838
|
+
${error}`}`
|
|
2839
|
+
);
|
|
2840
|
+
throw new Error(
|
|
2841
|
+
"`An error occurred while trying to create a release on GitHub in a CI environment",
|
|
2842
|
+
{
|
|
2843
|
+
cause: error
|
|
2844
|
+
}
|
|
2845
|
+
);
|
|
2846
|
+
}
|
|
2834
2847
|
return {
|
|
2835
2848
|
status: "manual",
|
|
2836
2849
|
error,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.114.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tools for managing Git repositories within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -221,8 +221,8 @@
|
|
|
221
221
|
"@inquirer/prompts": "7.2.1",
|
|
222
222
|
"@nx/devkit": "^21.3.10",
|
|
223
223
|
"@nx/js": "^21.3.10",
|
|
224
|
-
"@storm-software/config": "^1.
|
|
225
|
-
"@storm-software/config-tools": "^1.
|
|
224
|
+
"@storm-software/config": "^1.127.1",
|
|
225
|
+
"@storm-software/config-tools": "^1.179.1",
|
|
226
226
|
"@textlint/ast-node-types": "14.4.2",
|
|
227
227
|
"@textlint/markdown-to-ast": "14.4.2",
|
|
228
228
|
"anchor-markdown-header": "0.7.0",
|
|
@@ -251,5 +251,5 @@
|
|
|
251
251
|
"tsup": "8.4.0"
|
|
252
252
|
},
|
|
253
253
|
"publishConfig": { "access": "public" },
|
|
254
|
-
"gitHead": "
|
|
254
|
+
"gitHead": "e98f9f2645646b8bc1842cb3626e3defb604472f"
|
|
255
255
|
}
|