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:
|
vars:
|
||||||
VERSIONFILE: version.txt
|
VERSIONFILE: version.txt
|
||||||
RELEASE:
|
RELEASE:
|
||||||
sh: svu next --strip-prefix
|
sh: svu next
|
||||||
BRANCH:
|
BRANCH:
|
||||||
sh: git branch --show-current
|
sh: git branch --show-current
|
||||||
COMMIT:
|
COMMIT:
|
||||||
sh: git rev-parse --short --verify {{.BRANCH}}
|
sh: git rev-parse --short --verify {{.BRANCH}}
|
||||||
COMMITMSG: "chore: bump version to v{{.RELEASE}}"
|
COMMITMSG: "chore: bump version to {{.RELEASE}}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
release:tag:
|
release:tag:
|
||||||
desc: Create a new tag
|
desc: Create a new tag
|
||||||
cmds:
|
cmds:
|
||||||
- git tag v{{.RELEASE}}
|
- git tag {{.RELEASE}}
|
||||||
- git push --tags
|
- git push --tags
|
||||||
|
|
||||||
release:file:
|
release:file:
|
||||||
|
@ -34,7 +34,7 @@ tasks:
|
||||||
|
|
||||||
dorelease:
|
dorelease:
|
||||||
desc: Do all release steps
|
desc: Do all release steps
|
||||||
prompt: Create new release v{{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
|
prompt: Create new release {{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
|
||||||
preconditions:
|
preconditions:
|
||||||
- sh: test "{{.BRANCH}}" == "main"
|
- sh: test "{{.BRANCH}}" == "main"
|
||||||
cmds:
|
cmds:
|
||||||
|
|
Loading…
Reference in a new issue