chore: add release command to justfile
This commit is contained in:
parent
1bc865c062
commit
5e1dd34881
16
justfile
16
justfile
@ -59,14 +59,14 @@ fmt:
|
||||
find tests -type f -name "*.py" -exec sed -i -e 's/ /\t/g' {} \;
|
||||
|
||||
# release the app, checking that our working tree is clean and ready for release, optionally takes target version
|
||||
# release version="":
|
||||
# #!/usr/bin/env bash
|
||||
# set -euxo pipefail
|
||||
# if [[ -n "{{version}}" ]]; then
|
||||
# ./scripts/release.sh {{version}}
|
||||
# else
|
||||
# ./scripts/release.sh
|
||||
# fi
|
||||
release version="":
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
if [[ -n "{{version}}" ]]; then
|
||||
./scripts/release.sh {{version}}
|
||||
else
|
||||
./scripts/release.sh
|
||||
fi
|
||||
|
||||
# htmlcov:
|
||||
# poetry run pytest --cov-report=html
|
||||
|
Loading…
x
Reference in New Issue
Block a user