Skip to content

Commit

Permalink
Update release.yml to handle filenames diferently
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Jul 28, 2021
1 parent 4426633 commit 886cba2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ jobs:
with:
name: wheel

- name: Get the release version
id: version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}

- name: Create the GitHub release
id: create_release
uses: actions/create-release@v1
Expand All @@ -67,8 +63,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/furo-${{ steps.version.outputs.VERSION }}.tar.gz
asset_name: furo-${{ steps.version.outputs.VERSION }}.tar.gz
asset_path: dist/furo-*.tar.gz
asset_content_type: application/x-gzip

- name: Upload wheel to GitHub
Expand All @@ -77,8 +72,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/furo-${{ steps.version.outputs.VERSION }}-py3-none-any.whl
asset_name: furo-${{ steps.version.outputs.VERSION }}-py3-none-any.whl
asset_path: dist/furo-*-py3-none-any.whl
asset_content_type: application/zip

- name: Upload both to TestPyPI
Expand Down

0 comments on commit 886cba2

Please sign in to comment.