From f3beaeaa0b10115a63138c725d6d5a0931fef6e5 Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Sat, 9 Nov 2024 20:01:00 +0100 Subject: [PATCH] XXX remove release:file task --- Taskfile.yml | 13 ------------- 1 file changed, 13 deletions(-) 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