Skip to content

Commit e74f7a1

Browse files
committed
Fix bump script
1 parent c37ed69 commit e74f7a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: scripts/bump_version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class VersionBumper(StateMachine):
174174
175175
If dry_run is True, the command will be printed but not executed."""
176176

177-
source_dir = Path("")
177+
source_dir = Path("harbor_cli")
178178
version_file = source_dir / "__about__.py"
179179
changelog_file = Path("CHANGELOG.md")
180180
changelog_file_bak = changelog_file.with_suffix(".bak")
@@ -194,7 +194,7 @@ def __init__(
194194

195195
@property
196196
def tag(self) -> str:
197-
return f"-v{self.new_version}"
197+
return f"harbor-cli-v{self.new_version}"
198198

199199
def get_runner(self, dry_run: bool) -> Runner:
200200
def dryrun_subprocess_run(

0 commit comments

Comments
 (0)