Skip to content

Commit

Permalink
Merge pull request #54 from bancorprotocol/53-change-automation-to-in…
Browse files Browse the repository at this point in the history
…crement-patch-version-instead-of-minor-version

Change automation to increment patch version instead of minor.
  • Loading branch information
mikewcasale authored Aug 6, 2023
2 parents 35a9275 + e94fd76 commit 9f3075e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-and-pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
MAJOR=$(echo $CURRENT_VERSION | cut -d. -f1)
MINOR=$(echo $CURRENT_VERSION | cut -d. -f2)
PATCH=$(echo $CURRENT_VERSION | cut -d. -f3)
NEW_VERSION="${MAJOR}.$((MINOR + 1)).${PATCH}"
NEW_VERSION="${MAJOR}.${MINOR}.$((PATCH + 1))"
echo new_version=$NEW_VERSION >> $GITHUB_OUTPUT
BRANCH_NAME="version-bump-$NEW_VERSION-run-$GITHUB_RUN_NUMBER"
sed -i "s/$CURRENT_VERSION/$NEW_VERSION/" fastlane_bot/__init__.py
Expand Down

0 comments on commit 9f3075e

Please sign in to comment.