Skip to content

Commit

Permalink
Update python-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijeet-plato authored Oct 16, 2023
1 parent 46b906f commit 5da66fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
# Create a new branch with a unique name
NEW_VERSION=$(python -c 'version = open("VERSION").read().strip().split("."); version[-1] = str(int(version[-1]) + 1); print(".".join(version))')
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
echo "NEW_VERSION=$NEW_VERSION" # To make sure it's set correctly
echo "::set-output name=version::$NEW_VERSION"
git checkout -b bump-version-$NEW_VERSION
echo $NEW_VERSION > VERSION
Expand Down

0 comments on commit 5da66fc

Please sign in to comment.