diff --git a/Taskfile.yml b/Taskfile.yml index 3186096..8e4983b 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,14 +1,12 @@ version: '3' vars: - VERSIONFILE: version.txt RELEASE: sh: svu next BRANCH: sh: git branch --show-current COMMIT: sh: git rev-parse --short --verify {{.BRANCH}} - COMMITMSG: "chore: bump version to {{.RELEASE}}" tasks: release:tag: @@ -17,16 +15,6 @@ tasks: - git tag {{.RELEASE}} - git push --tags - release:file: - desc: Update version.txt - generates: - - version.txt - cmds: - - echo {{.RELEASE}} >{{.VERSIONFILE}} - - git add {{.VERSIONFILE}} - - git commit -m "{{.COMMITMSG}}" - - git push - release:goreleaser: desc: Create a new release with goreleaser cmds: @@ -38,7 +26,6 @@ tasks: preconditions: - sh: test "{{.BRANCH}}" == "main" cmds: - - task: release:file - task: release:tag - task: release:goreleaser