Skip to content

Commit

Permalink
Tag releases on release (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored Apr 11, 2022
1 parent 4e29191 commit bb46829
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@ jobs:
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}
- name: Version
id: version
run: echo "::set-output name=version::$(python setup.py --version 2>/dev/null)"
- name: Tag
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.version }}
release_name: ${{ steps.version.outputs.version }}
draft: false
prerelease: false

0 comments on commit bb46829

Please sign in to comment.