mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 03:27:34 +00:00
feat: Add developer guide, enhance versioning and release process, and refactor extractor imports
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
def main():
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
try:
|
||||
# Bump version
|
||||
print("Bumping version...")
|
||||
subprocess.run([sys.executable, '-m', 'renamer.bump'], check=True)
|
||||
|
||||
# Sync dependencies
|
||||
print("Syncing dependencies...")
|
||||
subprocess.run(['uv', 'sync'], check=True)
|
||||
|
||||
# Build package
|
||||
print("Building package...")
|
||||
subprocess.run(['uv', 'build'], check=True)
|
||||
|
||||
print("Release process completed successfully!")
|
||||
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"Error during release process: {e}")
|
||||
sys.exit(1)
|
||||
Reference in New Issue
Block a user