Skip to content

Commit

Permalink
Merge pull request #188 from Aiven-Open/kmichel-repair-build-system
Browse files Browse the repository at this point in the history
Fix release tooling not working
  • Loading branch information
alanfranz authored Jul 23, 2024
2 parents 74e5fe5 + 5ffe044 commit 9358041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion make_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def make_release(version: str) -> None:
raise ValueError(f"Unexpected version: {version!r}, should be N.N.N")
project_directory = Path(__file__).parent
subprocess.run(
["git", "-C", str(project_directory), "tag", "-s", "-a", f"{version}", "-m", f"Version {version}"],
["git", "-C", str(project_directory), "tag", "-s", "-a", f"releases/{version}", "-m", f"Version {version}"],
check=True,
)
subprocess.run(["git", "-C", str(project_directory), "log", "-n", "1", "-p"], check=True)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ platforms = [

[tool.hatch.version]
source = "vcs"
tag-pattern = "^releases/(?P<version>\\d+.\\d+.\\d+)$"

[tool.hatch.build.hooks.vcs]
version-file = "rohmu/version.py"

0 comments on commit 9358041

Please sign in to comment.