From 3adb1ffe65986641cc59cc40f5e98e4ec568b92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Sampaio?= Date: Thu, 25 May 2023 20:25:45 -0300 Subject: [PATCH] include support for tagging new releases fixes #236 --- justfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index f127fd9..1fc5ac3 100644 --- a/justfile +++ b/justfile @@ -21,9 +21,15 @@ lint: build: lint clean python setup.py sdist bdist_wheel -release: build +release: build && tag twine upload dist/* +tag: + #!/usr/bin/env zsh + tag=$(python -c 'import alive_progress; print("v" + alive_progress.__version__)') + git tag -a $tag -m "" + git push origin $tag + test: pytest {{cov}}