Repository: iterative/shtab (language: python)

Issue:
1.3.7 is missing tar.gz on pypi
E.g. 1.3.6 has it https://pypi.org/project/shtab/1.3.6/#files, but 1.3.7 doesn't https://pypi.org/project/shtab/1.3.7/#files , which broke our homebrew formula update, as it needs that resource.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/comment-bot.yml b/.github/workflows/comment-bot.yml
index 4451632..b44ee7b 100644
--- a/.github/workflows/comment-bot.yml
+++ b/.github/workflows/comment-bot.yml
@@ -29,6 +29,7 @@ jobs:
           post({
             owner: context.repo.owner, repo: context.repo.repo,
             comment_id: context.payload.comment.id, content: "eyes"})
+        github-token: ${{ secrets.GH_TOKEN }}
     - name: Tag Commit
       run: |
         git clone https://${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} repo
@@ -48,3 +49,4 @@ jobs:
           post({
             owner: context.repo.owner, repo: context.repo.repo,
             comment_id: context.payload.comment.id, content: "rocket"})
+        github-token: ${{ secrets.GH_TOKEN }}


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8fae992..5fb2686 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -10,8 +10,6 @@ jobs:
       with:
         fetch-depth: 0
     - uses: actions/setup-python@v2
-      with:
-        python-version: '3.x'
     - name: set PYSHA
       run: echo "PYSHA=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
     - uses: actions/cache@v1
@@ -54,7 +52,8 @@ jobs:
     - id: dist
       uses: casperdcl/deploy-pypi@v2
       with:
-        pip: true
+        requirements: twine setuptools wheel setuptools_scm[toml]
+        build: true
         password: ${{ secrets.PYPI_TOKEN }}
         upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
     - name: Changelog
@@ -64,7 +63,7 @@ jobs:
       env:
         GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
       with:
-        release_name: shtab ${{ github.ref }} stable
+        name: shtab ${{ github.ref }} beta
         body_path: _CHANGES.md
         draft: true
         files: |