From d102102ce498e69b4d22d0d5fbca372a941b42ec Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Tue, 30 Sep 2025 17:04:59 -0400 Subject: [PATCH] chore(task): annotate tags during release --- Taskfile.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 54b50a68217b6ff66ddf1de9a28a8f45d224fefc..0739cab998f34c7b4129b0765b9b225a2455f8ae 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -90,7 +90,7 @@ tasks: vars: NEXT: sh: go run github.com/caarlos0/svu/v3@latest next --always - prompt: "This will release {{.NEXT}}. Continue?" + prompt: "This will release {{.NEXT}}. Please make sure you've fetch tags. Continue?" preconditions: - sh: '[ $(git symbolic-ref --short HEAD) = "main" ]' msg: Not on main branch @@ -99,6 +99,6 @@ tasks: cmds: - git commit --allow-empty -m "{{.NEXT}}" - git tag -d nightly - - git tag --sign {{.NEXT}} {{.CLI_ARGS}} + - git tag --annotate --sign {{.NEXT}} {{.CLI_ARGS}} - echo "Pushing {{.NEXT}}..." - git push origin --tags