We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a14dc3d commit b1201beCopy full SHA for b1201be
scripts/release.sh
@@ -16,9 +16,18 @@ fi
16
17
# Get the latest tag
18
LATEST_TAG=$(git describe --tags --abbrev=0)
19
+VERSION=${LATEST_TAG#v}
20
+
21
+# Update version in pyproject.toml
22
+sed -i "s/^version = \".*\"/version = \"${VERSION}\"/" pyproject.toml
23
24
+# Commit the pyproject.toml change
25
+git add pyproject.toml
26
+git commit -m "chore: sync pyproject.toml version with tag ${LATEST_TAG}"
27
+git push origin main
28
29
# Create GitHub release
-echo "Creating GitHub release for ${LATEST_TAG}..."
30
+echo "Creating GitHub release..."
31
gh release create "${LATEST_TAG}" \
32
--title "Release ${LATEST_TAG}" \
33
--generate-notes
0 commit comments