File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ VERSION = $(shell git describe --tags --abbrev=0 | awk -F. '{OFS="."; $$NF+=1; print}')
2+
3+ .PHONY : build
4+ build :
5+ @rm -rf ./build
6+ @PYTHONWARNINGS=ignore uvx copier copy -q --trust --force --vcs-ref=HEAD . ./build
7+
8+ release :
9+ @git tag $(VERSION )
10+ @git push --follow-tags
Original file line number Diff line number Diff line change @@ -42,4 +42,4 @@ _tasks:
4242 - " [ -d .git ] || poetry install -q"
4343 - " [ -d .git ] || git init -q && git add --all && git commit -qm 'initial commit'"
4444 - " [ -d .git ] || touch .envrc"
45- - printf "To create your repo:\n\tgh repo create -y {{repo_username}}/{{repo_name}} {% if private %}--private{% else %}--public{% endif %}"
45+ - printf "To create your repo:\n gh repo create -y {{repo_username}}/{{repo_name}} {% if private %}--private{% else %}--public{% endif %}"
You can’t perform that action at this time.
0 commit comments