We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf8b59 commit cecc400Copy full SHA for cecc400
1 file changed
justfile
@@ -82,7 +82,7 @@ doctest:
82
just test
83
just docs
84
85
-# Calcs a version, adds to pyproject, git tags, calls publish <version>
+# Calcs a version, adds it to pyproject, git tags
86
new-version VERSION="":
87
#!/usr/bin/env bash
88
set -xeuo pipefail
@@ -94,7 +94,9 @@ new-version VERSION="":
94
git tag -d "$VERSION" 2>/dev/null || true
95
git tag "$VERSION"
96
97
+# Pushes the tag, publishes to pypi
98
publish:
99
+ git pull
100
git push --tags
101
just clean
102
just build
0 commit comments