diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e45c13dd..c6bd5aaf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -164,13 +164,14 @@ jobs: echo ::set-output name=docker_tags::devel echo ::set-output name=snap_channel::edge fi + echo ::set-output name=tag::${GITHUB_REF#refs/tags/} git log --pretty='format:%d%n- %s%n%b---' $(git tag --sort=v:refname | tail -n2 | head -n1)..HEAD > _CHANGES.md - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} with: - name: tqdm ${{ github.ref }} stable + name: tqdm ${{ steps.collect_assets.outputs.tag }} stable body_path: _CHANGES.md draft: true files: | diff --git a/.gitignore b/.gitignore index 165e08ef..7542c20c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ __pycache__/ # Packages /tqdm/_dist_ver.py -/.eggs/ /*.egg*/ /build/ /dist/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b274b57..0189d6b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,7 +49,7 @@ repos: - flake8-debugger - flake8-string-format - repo: https://github.com/PyCQA/isort - rev: 5.8.0 + rev: 5.9.2 hooks: - id: isort - repo: https://github.com/kynan/nbstripout