Skip to content

Commit

Permalink
Add missing option
Browse files Browse the repository at this point in the history
  • Loading branch information
znichollscr committed Aug 5, 2024
1 parent 17e6646 commit 4c1cb14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
echo "Bumping from version $BASE_VERSION"
# Bump out of pre-release
python python-packages/input4MIPs-CVs/src/input4MIPs_CVs/cli/version.py bump "no-pre-release"
python python-packages/input4MIPs-CVs/src/input4MIPs_CVs/cli/version.py bump "no-pre-release" --repo-root-dir .
# Bump to new release
if [ ${{ github.event.inputs.bump_rule }} != "no-pre-release" ]; then
python python-packages/input4MIPs-CVs/src/input4MIPs_CVs/cli/version.py bump "${{ github.event.inputs.bump_rule }}" --no-pre-release
python python-packages/input4MIPs-CVs/src/input4MIPs_CVs/cli/version.py bump "${{ github.event.inputs.bump_rule }}" --no-pre-release --repo-root-dir .
fi
NEW_VERSION=`cat VERSION`
Expand All @@ -67,7 +67,7 @@ jobs:
BASE_VERSION=NEW_VERSION
# Bump to next pre-release
python python-packages/input4MIPs-CVs/src/input4MIPs_CVs/cli/version.py bump "micro" --pre-release
python python-packages/input4MIPs-CVs/src/input4MIPs_CVs/cli/version.py bump "micro" --pre-release --repo-root-dir .
NEW_VERSION=`cat VERSION`
echo "Bumping version $BASE_VERSION > $NEW_VERSION"
Expand Down

0 comments on commit 4c1cb14

Please sign in to comment.