We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a84728 commit 0cf8b59Copy full SHA for 0cf8b59
1 file changed
justfile
@@ -87,11 +87,7 @@ new-version VERSION="":
87
#!/usr/bin/env bash
88
set -xeuo pipefail
89
VERSION="{{VERSION}}"
90
- if [ -z "$VERSION" ]; then
91
- # Use calendar versioning by default
92
- VERSION=$(date "+%Y.%m.%d")
93
- echo "Using calendar version: $VERSION"
94
- fi
+ if [ -z "$VERSION" ]; then VERSION=$(date "+%Y.%m.%d"); fi
95
echo "Releasing version $VERSION"
96
sed -i '' "s/^version = .*/version = \"$VERSION\"/" pyproject.toml
97
git commit -am "chore: Prepare release $VERSION" || true
0 commit comments