use plain svu version (don't strip prefix)

This commit is contained in:
Sebastian Mark 2024-11-09 20:19:22 +01:00
parent 42f014428d
commit a524a9499c

View file

@ -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: