chore(task): just use svu if it's already installed
commit255aa3bcaaa79a270b48da607b2adab6a7e89bbd
authorChristian Rocha <christian@rocha.is>
dateWed 1 Oct 2025, 21:23 (1 year ago)
parent08e384d
Taskfile.yaml+1−1
@@ -89,7 +89,7 @@ tasks:
8989 desc: Create and push a new tag following semver
9090 vars:
9191 NEXT:
92− sh: go run github.com/caarlos0/svu/v3@latest next --always
92+ sh: svu next --always || go run github.com/caarlos0/svu/v3@latest next --always
9393 prompt: "This will release {{.NEXT}}. Continue?"
9494 preconditions:
9595 - sh: '[ $(git symbolic-ref --short HEAD) = "main" ]'