Skip to content

Commit

Permalink
Improve release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Mar 31, 2022
1 parent 9e154b2 commit 757eec8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ name: Upload Python Package

on:
push:
tags: "*"
tags:
- "*"

jobs:
deploy:
Expand All @@ -25,7 +26,6 @@ jobs:
python -m pip install --upgrade pip
python -m pip install --upgrade twine
python -m pip install -r requirements.txt
python -m pip install -r requirements/development.txt
- name: Build and publish
env:
Expand All @@ -34,3 +34,10 @@ jobs:
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Transform git tag into GitHub Release with assets
uses: marvinpinto/[email protected]
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: dist/*

0 comments on commit 757eec8

Please sign in to comment.