Skip to content

Commit

Permalink
✨ 更新版本
Browse files Browse the repository at this point in the history
  • Loading branch information
xinansky committed Jun 21, 2024
1 parent b831fe8 commit b6ad03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/upversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def read_current_version() -> str:
# 上传到远程仓库 捕获异常
if current_version != new_version:
try:
subprocess.run(['git', 'pull'], check=True)
subprocess.run(['git', 'pull', 'origin', current_branch], check=True)
subprocess.run(['git', 'add', 'package.json'], check=True)
subprocess.run(['git', 'commit', '-m', f"✨ up version {current_branch} -> {new_version}"], check=True)
subprocess.run(['git', 'push', 'origin', current_branch], check=True)
Expand Down

0 comments on commit b6ad03e

Please sign in to comment.