Skip to content

Commit

Permalink
Merge pull request #253 from tudat-team/252-fix-bump-version-workflow
Browse files Browse the repository at this point in the history
Fix #252: Fix bug in bumpversion workflow
  • Loading branch information
DominicDirkx authored Oct 16, 2024
2 parents 52340ec + dd8240b commit 2b945d1
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/bump_dev_version_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,14 @@ jobs:
with:
ref: develop

- name: Install bump2version
run: pip install bump2version

- name: Bump version
id: bump_version
- name: Install bump2version and run bumpversion
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
bump2version dev --config-file .bumpversion.cfg --verbose
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
python3 -m venv venv
source venv/bin/activate
pip install bump2version
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
bump2version dev --config-file .bumpversion.cfg --verbose
- name: Push tag to tudat repository
run: git push origin --follow-tags
Expand All @@ -94,14 +91,14 @@ jobs:
token: ${{ secrets.BUMP_VERSION_NIGHTLY }}
ref: develop

- name: Install bump2version
run: pip install bump2version

- name: Bump version on feedstock
- name: Install bump2version and run bumpversion
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
bump2version dev --config-file .bumpversion.cfg --verbose
python3 -m venv venv
source venv/bin/activate
pip install bump2version
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
bump2version dev --config-file .bumpversion.cfg --verbose
- name: Reset build number in meta.yml to 0
shell: bash
Expand Down

0 comments on commit 2b945d1

Please sign in to comment.