File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed
Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 2828 # Extract version from __init__.py
2929 VERSION=$(python -c "
3030 import re
31- with open('pabot/__init__.py', 'r') as f:
31+ with open('src/ pabot/__init__.py', 'r') as f:
3232 content = f.read()
3333 match = re.search(r'__version__\s*=\s*[\"\'](.*?)[\"\']', content)
3434 if match:
@@ -105,15 +105,23 @@ jobs:
105105 twine upload dist/*.*
106106
107107 - name : Create GitHub Release
108- uses : actions/create-release@v1
109- env :
110- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
108+ uses : softprops/action-gh-release@v1
111109 with :
112110 tag_name : ${{ github.ref }}
113- release_name : Release ${{ needs.validate-version.outputs.version }}
111+ name : Pabot ${{ needs.validate-version.outputs.version }}
114112 body : |
115- Release of Pabot version ${{ needs.validate-version.outputs.version }}
113+ ## Pabot ${{ needs.validate-version.outputs.version }}
114+
115+ Released to PyPI: https://pypi.org/project/robotframework-pabot/${{ needs.validate-version.outputs.version }}/
116116
117- See [CHANGELOG](https://github.com/mkorpela/pabot/blob/master/CHANGELOG.md) for details.
117+ ### Installation
118+ ```bash
119+ pip install robotframework-pabot==${{ needs.validate-version.outputs.version }}
120+ ```
121+ generate_release_notes : true
122+ files : |
123+ dist/*.whl
124+ dist/*.tar.gz
118125 draft : false
119- prerelease : false
126+ prerelease : false
127+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments