add warning prompt
This commit is contained in:
parent
99b6c8378e
commit
cf717bf885
1 changed files with 6 additions and 1 deletions
|
@ -1,9 +1,13 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
|
VERSIONFILE: version.txt
|
||||||
RELEASE:
|
RELEASE:
|
||||||
sh: svu next --strip-prefix
|
sh: svu next --strip-prefix
|
||||||
VERSIONFILE: version.txt
|
BRANCH:
|
||||||
|
sh: git branch --show-current
|
||||||
|
COMMIT:
|
||||||
|
sh: git rev-parse --short --verify {{.BRANCH}}
|
||||||
COMMITMSG: "chore: bump version to v{{.RELEASE}}"
|
COMMITMSG: "chore: bump version to v{{.RELEASE}}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -19,6 +23,7 @@ tasks:
|
||||||
|
|
||||||
release:push:
|
release:push:
|
||||||
aliases: [dorelease]
|
aliases: [dorelease]
|
||||||
|
prompt: Create new release v{{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
|
||||||
cmds:
|
cmds:
|
||||||
- task: release:file
|
- task: release:file
|
||||||
- task: release:tag
|
- task: release:tag
|
||||||
|
|
Loading…
Reference in a new issue