Skip to content

Commit

Permalink
Merge pull request #117 from pealtrufo/feature/autobump
Browse files Browse the repository at this point in the history
Fix bug when retrieving bumpversion from file
  • Loading branch information
javixeneize authored May 12, 2020
2 parents b6aa125 + acab486 commit bbdd5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
python3 setup.py --version > version
- name: Get bumpversion
run: echo ::set-env name=VERSION::$(grep -i 'current_version = ' setup.cfg | tr -d 'current_version = ')
run: echo ::set-env name=VERSION::$(grep -i 'current_version = ' setup.cfg | head -1 | tr -d 'current_version = ')

- name: Create Release
id: create_release
Expand Down

0 comments on commit bbdd5d2

Please sign in to comment.