bulk-release 2.2.14 → 2.2.15

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 CHANGED
@@ -1,3 +1,8 @@
1
+ ## [2.2.15](https://github.com/semrel-extra/zx-bulk-release/compare/v2.2.14...v2.2.15) (2023-03-28)
2
+
3
+ ### Fixes & improvements
4
+ * fix: apply queuefy to changelog push ([b8b353d](https://github.com/semrel-extra/zx-bulk-release/commit/b8b353d439916ac57f717a3d463c710702b00d4d))
5
+
1
6
  ## [2.2.14](https://github.com/semrel-extra/zx-bulk-release/compare/v2.2.13...v2.2.14) (2023-03-28)
2
7
 
3
8
  ### Fixes & improvements
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bulk-release",
3
3
  "alias": "bulk-release",
4
- "version": "2.2.14",
4
+ "version": "2.2.15",
5
5
  "description": "zx-based alternative for multi-semantic-release",
6
6
  "type": "module",
7
7
  "exports": {
@@ -1,10 +1,11 @@
1
1
  import {$} from 'zx-extra'
2
- import {log} from './log.js'
2
+ import {queuefy} from 'queuefy'
3
3
  import {fetchRepo, getRepo, pushCommit} from './git.js'
4
- import {msgJoin} from './util.js'
4
+ import {log} from './log.js'
5
5
  import {formatTag} from './meta.js'
6
+ import {msgJoin} from './util.js'
6
7
 
7
- export const pushChangelog = async (pkg) => {
8
+ export const pushChangelog = queuefy(async (pkg) => {
8
9
  const {absPath: cwd, config: {changelog: opts, gitCommitterEmail, gitCommitterName, ghBasicAuth: basicAuth}} = pkg
9
10
  if (!opts) return
10
11
 
@@ -18,7 +19,7 @@ export const pushChangelog = async (pkg) => {
18
19
 
19
20
  await $.o({cwd: _cwd})`echo ${releaseNotes}"\n$(cat ./${file})" > ./${file}`
20
21
  await pushCommit({cwd, branch, msg, gitCommitterEmail, gitCommitterName, basicAuth})
21
- }
22
+ })
22
23
 
23
24
  export const formatReleaseNotes = async (pkg) => {
24
25
  const {name, version, absPath: cwd, config: {ghBasicAuth: basicAuth}} = pkg