forked from Backblaze/B2_Command_Line_Tool
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'backblaze/master' into pdm
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ | |
os.environ["PDM_IGNORE_SAVED_PYTHON"] = "1" | ||
os.environ["PDM_NO_LOCK"] = "1" | ||
|
||
UPSTREAM_REPO_URL = '[email protected]:Backblaze/B2_Command_Line_Tool.git' | ||
|
||
CI = os.environ.get('CI') is not None | ||
CD = CI and (os.environ.get('CD') is not None) | ||
INSTALL_SDK_FROM = os.environ.get('INSTALL_SDK_FROM') | ||
|
@@ -650,10 +652,11 @@ def make_release_commit(session): | |
|
||
session.log( | ||
f'CHANGELOG updated, changes ready to commit and push\n' | ||
f' git remote add upstream {UPSTREAM_REPO_URL!r} 2>/dev/null || git remote get-url upstream\n' | ||
f' git commit -m "release {version}"\n' | ||
f' git tag v{version}\n' | ||
f' git push {{UPSTREAM_NAME}} v{version}\n' | ||
f' git push {{UPSTREAM_NAME}} {current_branch}' | ||
f' git push upstream v{version}\n' | ||
f' git push upstream {current_branch}' | ||
) | ||
|
||
|
||
|