use plain svu version (don't strip prefix)
This commit is contained in:
parent
42f014428d
commit
a524a9499c
1 changed files with 4 additions and 4 deletions
|
@ -3,18 +3,18 @@ version: '3'
|
|||
vars:
|
||||
VERSIONFILE: version.txt
|
||||
RELEASE:
|
||||
sh: svu next --strip-prefix
|
||||
sh: svu next
|
||||
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 {{.RELEASE}}"
|
||||
|
||||
tasks:
|
||||
release:tag:
|
||||
desc: Create a new tag
|
||||
cmds:
|
||||
- git tag v{{.RELEASE}}
|
||||
- git tag {{.RELEASE}}
|
||||
- git push --tags
|
||||
|
||||
release:file:
|
||||
|
@ -34,7 +34,7 @@ tasks:
|
|||
|
||||
dorelease:
|
||||
desc: Do all release steps
|
||||
prompt: Create new release v{{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
|
||||
prompt: Create new release {{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
|
||||
preconditions:
|
||||
- sh: test "{{.BRANCH}}" == "main"
|
||||
cmds:
|
||||
|
|
Loading…
Reference in a new issue