Skip to content

Commit ebf58e5

Browse files
rbs333claude
andcommitted
fix(release): move version comment above the version line
The auto-release workflow uses sed with the regex \`^version = ".*"\$\` to bump the version. An inline trailing comment broke the \`\$\` anchor, causing sed to silently no-op. Without the version bump, the workflow would tag v0.4.0 again, fail to create a duplicate GitHub release, and \`uv publish\` would error because 0.4.0 already exists on PyPI. Verified by simulating the sed against the file for patch, minor, and major bumps. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9f0d087 commit ebf58e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[project]
22
name = "sql-redis"
3-
version = "0.4.0" # NOTE: This version value is automatically incremented by the release workflow - do not manually adjust it.
3+
# NOTE: The version below is automatically incremented by the release workflow - do not manually adjust it.
4+
version = "0.4.0"
45
description = "SQL to Redis command translation utility"
56
authors = [{ name = "Redis Inc.", email = "applied.ai@redis.com" }]
67
requires-python = ">=3.9,<3.14"

0 commit comments

Comments
 (0)