zx-bulk-release 3.0.3 → 3.0.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/CHANGELOG.md +5 -0
- package/README.md +11 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [3.0.4](https://github.com/semrel-extra/zx-bulk-release/compare/v3.0.3...v3.0.4) (2026-04-11)
|
|
2
|
+
|
|
3
|
+
### Fixes & improvements
|
|
4
|
+
* docs: update gh action examples ([0511f95](https://github.com/semrel-extra/zx-bulk-release/commit/0511f95d62999c8f9a1b42562307a71f8b62c698))
|
|
5
|
+
|
|
1
6
|
## [3.0.3](https://github.com/semrel-extra/zx-bulk-release/compare/v3.0.2...v3.0.3) (2026-04-11)
|
|
2
7
|
|
|
3
8
|
### Fixes & improvements
|
package/README.md
CHANGED
|
@@ -63,7 +63,6 @@ GH_TOKEN=ghtoken GH_USER=username NPM_TOKEN=npmtoken npx zx-bulk-release [opts]
|
|
|
63
63
|
By default, zbr runs the full pipeline in a single process. For better security isolation, split build and delivery into separate CI jobs:
|
|
64
64
|
|
|
65
65
|
```yaml
|
|
66
|
-
# Job 1: build (minimal privileges — source code access only)
|
|
67
66
|
jobs:
|
|
68
67
|
pack:
|
|
69
68
|
runs-on: ubuntu-latest
|
|
@@ -72,20 +71,27 @@ jobs:
|
|
|
72
71
|
with: { fetch-depth: 0 }
|
|
73
72
|
- run: npx zx-bulk-release --pack
|
|
74
73
|
- uses: actions/upload-artifact@v4
|
|
75
|
-
with:
|
|
74
|
+
with:
|
|
75
|
+
name: parcels
|
|
76
|
+
path: parcels
|
|
77
|
+
retention-days: 1
|
|
78
|
+
if-no-files-found: ignore
|
|
76
79
|
|
|
77
|
-
# Job 2: deliver (only delivery credentials, no source code)
|
|
78
80
|
deliver:
|
|
79
81
|
needs: pack
|
|
80
82
|
runs-on: ubuntu-latest
|
|
81
83
|
steps:
|
|
82
84
|
- uses: actions/download-artifact@v4
|
|
85
|
+
id: download
|
|
83
86
|
with: { name: parcels, path: parcels }
|
|
84
|
-
|
|
87
|
+
continue-on-error: true
|
|
88
|
+
- if: steps.download.outcome == 'success'
|
|
89
|
+
run: npx zx-bulk-release --deliver
|
|
85
90
|
env:
|
|
86
91
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
87
92
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
88
|
-
-
|
|
93
|
+
- if: steps.download.outcome == 'success'
|
|
94
|
+
uses: actions/upload-artifact@v4
|
|
89
95
|
with: { name: parcels, path: parcels, overwrite: true, retention-days: 1 }
|
|
90
96
|
```
|
|
91
97
|
|