File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,9 @@ You can generate a changelog for all versions by using `--first`
160
160
$ aegir-relase --first
161
161
```
162
162
163
+ You can skip all changelog generation and the github release by passing
164
+ in ` --no-changelog ` .
165
+
163
166
## Other Notes
164
167
165
168
There is a badge.
Original file line number Diff line number Diff line change 3
3
const $ = require ( 'gulp-load-plugins' ) ( )
4
4
5
5
module . exports = ( gulp , done ) => {
6
+ if ( $ . util . env . changelog === false ) {
7
+ $ . util . log ( 'Skipping changelog generation' )
8
+ return done ( )
9
+ }
10
+
6
11
const releaseCount = $ . util . env . first ? 0 : 1
7
12
8
13
return gulp . src ( 'CHANGELOG.md' )
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ const $ = require('gulp-load-plugins')()
4
4
const conventionalGithubReleaser = require ( 'conventional-github-releaser' )
5
5
6
6
module . exports = ( gulp , done ) => {
7
+ if ( $ . util . env . changelog === false ) {
8
+ $ . util . log ( 'Skipping github release' )
9
+ return done ( )
10
+ }
11
+
7
12
const token = process . env . GH_TOKEN || $ . util . env . token
8
13
9
14
if ( ! token ) {
You can’t perform that action at this time.
0 commit comments