bulk-release 2.4.1 → 2.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/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/main/js/git.js +1 -1
- package/src/main/js/npm.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [2.4.2](https://github.com/semrel-extra/zx-bulk-release/compare/v2.4.1...v2.4.2) (2023-04-09)
|
|
2
|
+
|
|
3
|
+
### Fixes & improvements
|
|
4
|
+
* fix: make safe `git config unset` ([562083d](https://github.com/semrel-extra/zx-bulk-release/commit/562083d14ede6db93e0e19853aa8baf3a1e0f578))
|
|
5
|
+
|
|
1
6
|
## [2.4.1](https://github.com/semrel-extra/zx-bulk-release/compare/v2.4.0...v2.4.1) (2023-04-09)
|
|
2
7
|
|
|
3
8
|
### Fixes & improvements
|
package/package.json
CHANGED
package/src/main/js/git.js
CHANGED
|
@@ -113,6 +113,6 @@ export const setUserConfig = memoizeBy(async(cwd, gitCommitterName, gitCommitter
|
|
|
113
113
|
git config user.email ${gitCommitterEmail}
|
|
114
114
|
`)
|
|
115
115
|
|
|
116
|
-
export const unsetUserConfig = async(cwd) => $.o({cwd})`
|
|
116
|
+
export const unsetUserConfig = async(cwd) => $.o({cwd, nothrow: true})`
|
|
117
117
|
git config --unset user.name &&
|
|
118
118
|
git config --unset user.email`
|
package/src/main/js/npm.js
CHANGED
|
@@ -47,7 +47,7 @@ export const npmPublish = async (pkg) => {
|
|
|
47
47
|
const npmrc = await getNpmrc({npmConfig, npmToken, npmRegistry})
|
|
48
48
|
|
|
49
49
|
await $.o({cwd})`npm publish --no-git-tag-version --registry=${npmRegistry} --userconfig ${npmrc} --tag ${npmTag} --no-workspaces`
|
|
50
|
-
fs.
|
|
50
|
+
await fs.writeFile(manifestPath, manifestRaw, {encoding: 'utf8'})
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export const getNpmrc = async ({npmConfig, npmToken, npmRegistry}) => {
|