@cycjimmy/semantic-release-action 3.4.0 → 3.4.2
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/docs/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.4.2](https://github.com/cycjimmy/semantic-release-action/compare/v3.4.1...v3.4.2) (2023-03-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix installation error for npm-audit ([86a0e59](https://github.com/cycjimmy/semantic-release-action/commit/86a0e59803808ad228284efb42a130def7974b7c)), closes [#159](https://github.com/cycjimmy/semantic-release-action/issues/159)
|
|
7
|
+
|
|
8
|
+
## [3.4.1](https://github.com/cycjimmy/semantic-release-action/compare/v3.4.0...v3.4.1) (2023-03-30)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **windUpJob:** set last_release outputs before returning ([91e3dc6](https://github.com/cycjimmy/semantic-release-action/commit/91e3dc6dcc39e4b462a165d85338c4e6cf1db9b6))
|
|
14
|
+
|
|
1
15
|
# [3.4.0](https://github.com/cycjimmy/semantic-release-action/compare/v3.3.0...v3.4.0) (2023-03-15)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cycjimmy/semantic-release-action",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"description": "GitHub Action for Semantic Release",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@actions/core": "^1.10.0",
|
|
25
25
|
"@cycjimmy/awesome-js-funcs": "^4.0.4",
|
|
26
|
-
"@semantic-release/changelog": "^6.0.
|
|
26
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
27
27
|
"@semantic-release/git": "^10.0.1",
|
|
28
28
|
"semantic-release": "^19.0.5"
|
|
29
29
|
}
|
|
@@ -13,7 +13,7 @@ module.exports = async () => {
|
|
|
13
13
|
? `@${semantic_version}`
|
|
14
14
|
: '';
|
|
15
15
|
|
|
16
|
-
const {stdout, stderr} = await exec(`npm install semantic-release${versionSuffix} --silent`, {
|
|
16
|
+
const {stdout, stderr} = await exec(`npm install semantic-release${versionSuffix} --no-audit --silent`, {
|
|
17
17
|
cwd: path.resolve(__dirname, '..')
|
|
18
18
|
});
|
|
19
19
|
core.debug(stdout);
|
package/src/preInstall.task.js
CHANGED
|
@@ -12,8 +12,9 @@ module.exports = async extras => {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const _extras = extras.replace(/['"]/g, '').replace(/[\n\r]/g, ' ');
|
|
15
|
+
const silentFlag = process.env.RUNNER_DEBUG === '1' ? '' : '--silent';
|
|
15
16
|
|
|
16
|
-
const { stdout, stderr } = await exec(`npm install ${_extras} --
|
|
17
|
+
const { stdout, stderr } = await exec(`npm install ${_extras} --no-audit ${silentFlag}`, {
|
|
17
18
|
cwd: path.resolve(__dirname, '..')
|
|
18
19
|
});
|
|
19
20
|
core.debug(stdout);
|
package/src/windUpJob.task.js
CHANGED
|
@@ -16,7 +16,9 @@ module.exports = async (result) => {
|
|
|
16
16
|
|
|
17
17
|
if (lastRelease.version) {
|
|
18
18
|
core.debug(`The last release was "${lastRelease.version}".`);
|
|
19
|
-
core.setOutput(outputs.last_release_version, lastRelease.version)
|
|
19
|
+
core.setOutput(outputs.last_release_version, lastRelease.version);
|
|
20
|
+
core.setOutput(outputs.last_release_git_head, lastRelease.gitHead);
|
|
21
|
+
core.setOutput(outputs.last_release_git_tag, lastRelease.gitTag);
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
if (!nextRelease) {
|
|
@@ -43,7 +45,4 @@ module.exports = async (result) => {
|
|
|
43
45
|
core.setOutput(outputs.new_release_notes, notes);
|
|
44
46
|
core.setOutput(outputs.new_release_git_head, gitHead);
|
|
45
47
|
core.setOutput(outputs.new_release_git_tag, gitTag);
|
|
46
|
-
core.setOutput(outputs.last_release_version, lastRelease.version);
|
|
47
|
-
core.setOutput(outputs.last_release_git_head, lastRelease.gitHead);
|
|
48
|
-
core.setOutput(outputs.last_release_git_tag, lastRelease.gitTag);
|
|
49
48
|
};
|