File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 24
24
os .environ ["PDM_IGNORE_SAVED_PYTHON" ] = "1"
25
25
os .environ ["PDM_NO_LOCK" ] = "1"
26
26
27
+ UPSTREAM_REPO_URL = '[email protected] :Backblaze/B2_Command_Line_Tool.git'
28
+
27
29
CI = os .environ .get ('CI' ) is not None
28
30
CD = CI and (os .environ .get ('CD' ) is not None )
29
31
INSTALL_SDK_FROM = os .environ .get ('INSTALL_SDK_FROM' )
@@ -650,10 +652,11 @@ def make_release_commit(session):
650
652
651
653
session .log (
652
654
f'CHANGELOG updated, changes ready to commit and push\n '
655
+ f' git remote add upstream { UPSTREAM_REPO_URL !r} 2>/dev/null || git remote get-url upstream\n '
653
656
f' git commit -m "release { version } "\n '
654
657
f' git tag v{ version } \n '
655
- f' git push {{UPSTREAM_NAME}} v{ version } \n '
656
- f' git push {{UPSTREAM_NAME}} { current_branch } '
658
+ f' git push upstream v{ version } \n '
659
+ f' git push upstream { current_branch } '
657
660
)
658
661
659
662
You can’t perform that action at this time.
0 commit comments