mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
Keep ArchiveBox version sources aligned
This commit is contained in:
parent
90e726b75e
commit
c8c4a66144
@ -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')
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "archivebox",
|
||||
"version": "0.9.35rc170",
|
||||
"version": "0.9.35rc175",
|
||||
"repository": "github:ArchiveBox/ArchiveBox",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user