Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,8 @@ tasks:
- git tag {{.tag}}
- git push origin {{.tag}}
preconditions:
- sh: '[ "$(git branch --show-current)" = "main" ]'
msg: make sure you're on main

release:republish:
desc: republish a cli version
deps:
- release:check
requires:
vars:
- tag
cmds:
- git pull --rebase
- gh release delete {{.tag}} --yes --cleanup-tag
- task: release
vars:
tag: '{{.tag}}'
preconditions:
- sh: "! git ls-remote --tags origin {{.tag}} | grep -q ."
msg: "tag {{.tag}} already exists on remote"
- sh: '[ "$(git branch --show-current)" = "main" ]'
msg: make sure you're on main

Expand Down