@jcoreio/toolchain-semantic-release 5.11.3 → 5.11.4
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/package.json +2 -2
- package/release.config.cjs +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jcoreio/toolchain-semantic-release",
|
|
3
|
-
"version": "5.11.
|
|
3
|
+
"version": "5.11.4",
|
|
4
4
|
"description": "toolchain for running semantic-release",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"dedent-js": "^1.0.1",
|
|
18
18
|
"resolve-bin": "^1.0.0",
|
|
19
|
-
"@jcoreio/toolchain": "5.11.
|
|
19
|
+
"@jcoreio/toolchain": "5.11.4"
|
|
20
20
|
},
|
|
21
21
|
"toolchainManaged": {
|
|
22
22
|
"optionalDevDependencies": {
|
package/release.config.cjs
CHANGED
|
@@ -115,7 +115,7 @@ module.exports =
|
|
|
115
115
|
[
|
|
116
116
|
require.resolve('@semantic-release/exec'),
|
|
117
117
|
{
|
|
118
|
-
publishCmd: `cd ${path.join(projectDir, 'dist')} && npm version \${nextRelease.version} && npm publish . --loglevel silly || git tag -d ${pkg}-v\${nextRelease.version}`,
|
|
118
|
+
publishCmd: `cd ${path.join(projectDir, 'dist')} && ((npm version \${nextRelease.version} && npm publish . --loglevel silly) || (git tag -d ${pkg}-v\${nextRelease.version} && git push --delete origin ${pkg}-v\${nextRelease.version} && exit 1))`,
|
|
119
119
|
},
|
|
120
120
|
],
|
|
121
121
|
]),
|
|
@@ -134,7 +134,7 @@ module.exports =
|
|
|
134
134
|
[
|
|
135
135
|
require.resolve('@semantic-release/exec'),
|
|
136
136
|
{
|
|
137
|
-
publishCmd: `cd ${path.join(projectDir, 'dist')} && npm version \${nextRelease.version} && npm publish . --loglevel silly || git tag -d v\${nextRelease.version}`,
|
|
137
|
+
publishCmd: `cd ${path.join(projectDir, 'dist')} && ((npm version \${nextRelease.version} && npm publish . --loglevel silly) || (git tag -d v\${nextRelease.version} && git push --delete origin v\${nextRelease.version} && exit 1))`,
|
|
138
138
|
},
|
|
139
139
|
],
|
|
140
140
|
]),
|