@cycjimmy/semantic-release-action 4.2.0 → 4.2.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 +14 -0
- package/package.json +3 -2
- package/src/cleanupNpmrc.task.js +2 -8
package/docs/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.2.2](https://github.com/cycjimmy/semantic-release-action/compare/v4.2.1...v4.2.2) (2025-07-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **cleanupNpmrc.task.js:** Use @actions/io to remove .npmrc ([b7db0cb](https://github.com/cycjimmy/semantic-release-action/commit/b7db0cbbf5f42eb8fe027828c236fbc340b5429e))
|
|
7
|
+
|
|
8
|
+
## [4.2.1](https://github.com/cycjimmy/semantic-release-action/compare/v4.2.0...v4.2.1) (2025-06-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update marked terminal to v7.3.0 ([b52fa1b](https://github.com/cycjimmy/semantic-release-action/commit/b52fa1bae5b892a36c1e01fab61457344cc0c494))
|
|
14
|
+
|
|
1
15
|
# [4.2.0](https://github.com/cycjimmy/semantic-release-action/compare/v4.1.1...v4.2.0) (2025-03-14)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cycjimmy/semantic-release-action",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "GitHub Action for Semantic Release",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,9 +22,10 @@
|
|
|
22
22
|
"homepage": "https://github.com/cycjimmy/semantic-release-action#readme",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@actions/core": "^1.10.1",
|
|
25
|
+
"@actions/io": "^1.1.3",
|
|
25
26
|
"@cycjimmy/awesome-js-funcs": "^4.0.9",
|
|
26
27
|
"@semantic-release/changelog": "^6.0.3",
|
|
27
28
|
"@semantic-release/git": "^10.0.1",
|
|
28
|
-
"semantic-release": "^24.2.
|
|
29
|
+
"semantic-release": "^24.2.6"
|
|
29
30
|
}
|
|
30
31
|
}
|
package/src/cleanupNpmrc.task.js
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
const exec = require('./_exec');
|
|
1
|
+
const io = require('@actions/io');
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* Clean up `.npmrc` file in the repo after releasing
|
|
6
5
|
* @returns {Promise<never>}
|
|
7
6
|
*/
|
|
8
7
|
module.exports = async () => {
|
|
9
|
-
|
|
10
|
-
core.debug(stdout);
|
|
11
|
-
|
|
12
|
-
if (stderr) {
|
|
13
|
-
return Promise.reject(stderr);
|
|
14
|
-
}
|
|
8
|
+
await io.rmRF('.npmrc');
|
|
15
9
|
};
|