Skip to content

Commit 1d1b1fb

Browse files
committed
update release version
1 parent 3002a22 commit 1d1b1fb

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

justfile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,22 @@ dev:
1414
nix-claude-desktop:
1515
NIXPKGS_ALLOW_UNFREE=1 nix run "github:k3d3/claude-desktop-linux-flake#claude-desktop-with-fhs" --impure
1616

17-
release version note="Release v{{version}}" extra="": # NOTE version format should be 0.0.0
17+
release-help:
18+
@echo "- update version in pyproject.toml"
19+
@echo "- uv sync"
20+
@echo "- git commit"
21+
@echo "- git push && merge to main"
22+
@echo '- just release 0.0.0 "note"'
23+
@echo 'OR'
24+
@echo '- just prerelease 0.0.0 1 "note"'
25+
26+
release version note extra="": # ="Release v{{version}}" extra="": # NOTE version format should be 0.0.0
1827
#!/usr/bin/env bash
1928
if [[ "{{version}}" == v* ]]; then
2029
echo "Error: Do not include 'v' prefix in version. It will be added automatically."
2130
exit 1
2231
fi
23-
uv build && git tag -a "v{{version}}" -m "Release v{{version}}" && git push --tags && gh release candidate "v{{version}}" --title "PostgreSQL MCP v{{version}}" --notes "{{note}}" {{extra}} dist/*.whl dist/*.tar.gz
32+
uv build && git tag -a "v{{version}}" -m "Release v{{version}}" || true && git push --tags && gh release create "v{{version}}" --title "PostgreSQL MCP v{{version}}" --notes "{{note}}" {{extra}} dist/*.whl dist/*.tar.gz
2433

25-
prerelease version rc note="Release candidate {{rc}} for version {{version}}":
34+
prerelease version rc note: #="Release candidate {{rc}} for version {{version}}":
2635
just release "{{version}}rc{{rc}}" "{{note}}" "--prerelease"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "postgres-mcp"
3-
version = "0.1.1rc1"
3+
version = "0.1.1"
44
description = "PostgreSQL Tuning and Analysis Tool"
55
readme = "README.md"
66
requires-python = ">=3.12"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)