ci: add tagrelease task

Just to help really, not needed but stops having to manually type it.
This commit is contained in:
Sekwah 2021-05-19 01:01:01 +01:00
parent 100b825765
commit 7b0c1ca6ae
No known key found for this signature in database
GPG Key ID: C3BE2E6C861A461A
1 changed files with 11 additions and 1 deletions

View File

@ -339,7 +339,17 @@ task updateChangelog {
}
task updateChangelogPreRelease(type: Exec) {
commandLine 'cmd', '/c', 'npx standard-version@9.3.0 --prerelease -i docs/SNAPSHOT_CHANGELOG.md'
commandLine 'cmd', '/c', 'npx standard-version@9.3.0 --prerelease -i docs/SNAPSHOT_CHANGELOG.md --skip.tag'
ext.output = {
return standardOutput.toString()
}
}
/**
* Just to stop having to manually tagging. Probably could do this easier but meh stops typos or other issues.
*/
task tagRelease(type: Exec) {
commandLine 'cmd', '/c', 'npx standard-version@9.3.0 --prerelease -i docs/SNAPSHOT_CHANGELOG.md --skip.changelog --skip.bump'
ext.output = {
return standardOutput.toString()
}