Skip to content

Commit

Permalink
update version in _version.py for promptflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotzh committed Apr 26, 2024
1 parent cd4e4cb commit d1ca1f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/create_promptflow_release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/promptflow/promptflow/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------

VERSION = "1.9.0.dev0"
VERSION = "1.10.0"

0 comments on commit d1ca1f4

Please sign in to comment.