diff --git a/bin/bump_version.sh b/bin/bump_version.sh index f8993c93..b001f9e8 100755 --- a/bin/bump_version.sh +++ b/bin/bump_version.sh @@ -32,6 +32,15 @@ if parse(version) <= parse(match.group(1)): updated, count = re.subn(r'^version = "[^"]+"$', f'version = "{version}"', text, count=1, flags=re.MULTILINE) if count != 1: raise SystemExit('Failed to update version in pyproject.toml') +updated, count = re.subn( + r'^current_version = "v[^"]+"$', + f'current_version = "v{version}"', + updated, + count=1, + flags=re.MULTILINE, +) +if count != 1: + raise SystemExit('Failed to update tool.bumpver.current_version in pyproject.toml') pyproject.write_text(updated) package_path = Path('etc/package.json') diff --git a/etc/package.json b/etc/package.json index c7e0dc3b..af4945b1 100644 --- a/etc/package.json +++ b/etc/package.json @@ -1,6 +1,6 @@ { "name": "archivebox", - "version": "0.9.35rc170", + "version": "0.9.35rc175", "repository": "github:ArchiveBox/ArchiveBox", "license": "MIT", "dependencies": {