From c8c4a66144c62ac03e2669c38bb6495bedbe8798 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 29 Jul 2026 06:59:04 -0700 Subject: [PATCH] Keep ArchiveBox version sources aligned --- bin/bump_version.sh | 9 +++++++++ etc/package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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": {