zx-bulk-release 1.9.2 → 1.10.0
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/.github/workflows/ci.yml +7 -7
- package/CHANGELOG.md +8 -0
- package/README.md +4 -0
- package/package.json +1 -1
- package/src/main/js/publish.js +6 -4
package/.github/workflows/ci.yml
CHANGED
|
@@ -107,13 +107,13 @@ jobs:
|
|
|
107
107
|
- name: Docs
|
|
108
108
|
run: yarn docs
|
|
109
109
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
110
|
+
- name: Codeclimate
|
|
111
|
+
uses: paambaati/codeclimate-action@v3.0.0
|
|
112
|
+
env:
|
|
113
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
114
|
+
with:
|
|
115
|
+
coverageLocations: |
|
|
116
|
+
${{github.workspace}}/coverage/*.lcov:lcov
|
|
117
117
|
|
|
118
118
|
- name: Release
|
|
119
119
|
env:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.10.0](https://github.com/semrel-extra/zx-bulk-release/compare/v1.9.2...v1.10.0) (2022-06-26)
|
|
2
|
+
|
|
3
|
+
### Fixes & improvements
|
|
4
|
+
* docs: add CC badges ([475c57a](https://github.com/semrel-extra/zx-bulk-release/commit/475c57aaa6efc1bf8bb6e44b3abbfb6da2f425dd))
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
* feat: configure ghPages push via opts ([ccc124e](https://github.com/semrel-extra/zx-bulk-release/commit/ccc124ef87fe4e049386d45c1676929dc0d36edd))
|
|
8
|
+
|
|
1
9
|
## [1.9.2](https://github.com/semrel-extra/zx-bulk-release/compare/v1.9.1...v1.9.2) (2022-06-26)
|
|
2
10
|
|
|
3
11
|
### Fixes & improvements
|
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# zx-bulk-release
|
|
2
2
|
> [zx](https://github.com/google/zx)-based alternative for [multi-semantic-release](https://github.com/dhoulb/multi-semantic-release)
|
|
3
3
|
|
|
4
|
+
[](https://github.com/semrel-extra/zx-bulk-release/actions)
|
|
5
|
+
[](https://codeclimate.com/github/semrel-extra/zx-bulk-release/maintainability)
|
|
6
|
+
[](https://codeclimate.com/github/semrel-extra/zx-bulk-release/test_coverage)
|
|
7
|
+
|
|
4
8
|
🚧 Work in progress. Early access preview
|
|
5
9
|
|
|
6
10
|
## Roadmap
|
package/package.json
CHANGED
package/src/main/js/publish.js
CHANGED
|
@@ -100,18 +100,20 @@ ${commits.join('\n')}`).join('\n')
|
|
|
100
100
|
})
|
|
101
101
|
|
|
102
102
|
const ghPages = async (pkg) => {
|
|
103
|
-
const {config} = pkg
|
|
104
|
-
if (!
|
|
103
|
+
const {config: {ghPages: opts}} = pkg
|
|
104
|
+
if (!opts) return
|
|
105
105
|
|
|
106
106
|
console.log('publish to gh-pages')
|
|
107
|
-
const [from, branch = 'gh-pages', to = '.'
|
|
107
|
+
const [from, branch = 'gh-pages', to = '.', msg = 'docs updated'] = typeof opts === 'string'
|
|
108
|
+
? opts.split(' ')
|
|
109
|
+
: [opts.from, opts.branch, opts.to, opts.msg]
|
|
108
110
|
|
|
109
111
|
await push({
|
|
110
112
|
cwd: path.resolve(pkg.absPath, from),
|
|
111
113
|
from: '.',
|
|
112
114
|
to,
|
|
113
115
|
branch,
|
|
114
|
-
msg
|
|
116
|
+
msg
|
|
115
117
|
})
|
|
116
118
|
}
|
|
117
119
|
|