on main help sign in
chore(task): fetch tags before releasing
commit08e384dae68fb364c31ceb6fb49b288bdf508c95 authorChristian Rocha <christian@rocha.is> dateWed 1 Oct 2025, 21:22 (1 year ago) parent8c1e376
1 file changed+2−2
Taskfile.yaml+2−2
Taskfile.yaml+2−2
@@ -90,15 +90,15 @@ tasks:
9090 vars:
9191 NEXT:
9292 sh: go run github.com/caarlos0/svu/v3@latest next --always
93− prompt: "This will release {{.NEXT}}. Please make sure you've fetch tags. Continue?"
93+ prompt: "This will release {{.NEXT}}. Continue?"
9494 preconditions:
9595 - sh: '[ $(git symbolic-ref --short HEAD) = "main" ]'
9696 msg: Not on main branch
9797 - sh: "[ $(git status --porcelain=2 | wc -l) = 0 ]"
9898 msg: "Git is dirty"
9999 cmds:
100+ - task: fetch-tags
100101 - git commit --allow-empty -m "{{.NEXT}}"
101− - git tag -d nightly
102102 - git tag --annotate --sign {{.NEXT}} {{.CLI_ARGS}}
103103 - echo "Pushing {{.NEXT}}..."
104104 - git push origin --tags