-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Further upgrades to changelog scripts
- Loading branch information
Sekwah
committed
May 14, 2021
1 parent
327e7dd
commit 0adb854
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,7 +248,13 @@ task runJar() { | |
task updateChangelog { | ||
doLast{ | ||
exec { | ||
commandLine 'cmd', '/c', 'npx standard-version -i docs/CHANGELOG.md -t (v)[0-9]+.[0-0]+.[0-0]+(?!-) --skip.tag --skip.bump --skip.commit' | ||
commandLine 'cmd', '/c', 'npx [email protected] --skip.changelog --skip.tag' | ||
ext.output = { | ||
return standardOutput.toString() | ||
} | ||
} | ||
exec { | ||
commandLine 'cmd', '/c', 'npx [email protected] -i docs/CHANGELOG.md -t (v)[0-9]+.[0-0]+.[0-0]+(?!-) --skip.commit --skip.tag --skip.bump' | ||
ext.output = { | ||
return standardOutput.toString() | ||
} | ||
|
@@ -266,7 +272,7 @@ task updateChangelog { | |
} | ||
} | ||
exec { | ||
commandLine 'cmd', '/c', 'npx standard-version --skip.changelog' | ||
commandLine 'cmd', '/c', 'npx standard-version@9.3.0 --skip.changelog --skip.bump' | ||
ext.output = { | ||
return standardOutput.toString() | ||
} | ||
|
@@ -275,7 +281,7 @@ task updateChangelog { | |
} | ||
|
||
task updateChangelogPreRelease(type: Exec) { | ||
commandLine 'cmd', '/c', 'npx standard-version --prerelease -i docs/SNAPSHOT_CHANGELOG.md' | ||
commandLine 'cmd', '/c', 'npx standard-version@9.3.0 --prerelease -i docs/SNAPSHOT_CHANGELOG.md' | ||
ext.output = { | ||
return standardOutput.toString() | ||
} | ||
|