mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-01-26 18:11:22 +01:00
ci: add tagrelease task
Just to help really, not needed but stops having to manually type it.
This commit is contained in:
parent
100b825765
commit
7b0c1ca6ae
12
build.gradle
12
build.gradle
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user