forked from Tudat/tudat
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from tudat-team/252-fix-bump-version-workflow
Fix #252: Fix bug in bumpversion workflow
- Loading branch information
Showing
1 changed file
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|