-
Notifications
You must be signed in to change notification settings - Fork 878
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update version in _version.py for promptflow
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 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 |
---|---|---|
|
@@ -37,11 +37,13 @@ jobs: | |
echo "replaced src/promptflow/promptflow/_version.py:" | ||
cat src/promptflow/promptflow/_version.py | ||
git add src/promptflow/promptflow/_version.py | ||
git config --global user.name 'promptflow release' | ||
git config --global user.email '[email protected]' | ||
git commit -m "update version in _version.py for promptflow" | ||
git push --set-upstream origin $branch_name | ||
if [[ $(git diff --name-only) == *"src/promptflow/promptflow/_version.py"* ]]; then | ||
git add src/promptflow/promptflow/_version.py | ||
git config --global user.name 'promptflow release' | ||
git config --global user.email '[email protected]' | ||
git commit -m "update version in _version.py for promptflow" | ||
git push --set-upstream origin $branch_name | ||
fi | ||
git tag promptflow_$release_version | ||
git push origin --tags | ||
|
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