-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix semantic release after upgrade
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 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 |
---|---|---|
|
@@ -89,14 +89,23 @@ jobs: | |
- name: Install Dependencies | ||
run: pip install -e .[dev,test] | ||
|
||
- name: Install python-semantic-release | ||
run: pip install python-semantic-release | ||
- name: Install python-semantic-release and twine | ||
run: pip install python-semantic-release twine | ||
|
||
- name: Bump version | ||
run: semantic-release version | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Upload to pypi | ||
run: twine upload --username "__token__" --password "${PYPI_TOKEN}" dist/* | ||
env: | ||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
|
||
- name: Publish release | ||
run: semantic-release publish | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
|
||
- name: Merge master to develop | ||
uses: robotology/[email protected] | ||
|
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