We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8122bb6 + 776a2ec commit 92ef2c8Copy full SHA for 92ef2c8
noxfile.py
@@ -20,6 +20,8 @@
20
21
import nox
22
23
+UPSTREAM_REPO_URL = '[email protected]:Backblaze/B2_Command_Line_Tool.git'
24
+
25
CI = os.environ.get('CI') is not None
26
CD = CI and (os.environ.get('CD') is not None)
27
INSTALL_SDK_FROM = os.environ.get('INSTALL_SDK_FROM')
@@ -692,10 +694,11 @@ def make_release_commit(session):
692
694
693
695
session.log(
696
f'CHANGELOG updated, changes ready to commit and push\n'
697
+ f' git remote add upstream {UPSTREAM_REPO_URL!r} 2>/dev/null || git remote get-url upstream\n'
698
f' git commit -m "release {version}"\n'
699
f' git tag v{version}\n'
- f' git push {{UPSTREAM_NAME}} v{version}\n'
- f' git push {{UPSTREAM_NAME}} {current_branch}'
700
+ f' git push upstream v{version}\n'
701
+ f' git push upstream {current_branch}'
702
)
703
704
0 commit comments