Skip to content

Commit

Permalink
adding relative path for setup.cfg file.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmotevalli committed Jan 11, 2024
1 parent 366992d commit e4663f4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
- name: Bump version
id: bump_version
run: |
bump2version ${{ github.event.inputs.releaseType }}
echo "New version: $(grep 'current_version = ' setup.cfg | sed -r 's/current_version = //')"
echo "::set-output name=version::$(grep 'current_version = ' setup.cfg | sed -r 's/current_version = //')"
bump2version ${{ github.event.inputs.releaseType }} --config-file ./ckan/setup.cfg
NEW_VERSION=$(grep 'current_version = ' ./ckan/setup.cfg | sed -r 's/current_version = //')
echo "New version: $NEW_VERSION"
echo "::set-output name=version::$NEW_VERSION"
- name: Push the tags and changes
run: |
Expand Down

0 comments on commit e4663f4

Please sign in to comment.