build: misc framework updates

This commit is contained in:
Casper da Costa-Luis 2021-07-26 21:26:50 +01:00
parent d986637bce
commit 269fa7d429
No known key found for this signature in database
GPG Key ID: F5126E5FBD2512AD
3 changed files with 3 additions and 3 deletions

View File

@ -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: |

1
.gitignore vendored
View File

@ -5,7 +5,6 @@ __pycache__/
# Packages
/tqdm/_dist_ver.py
/.eggs/
/*.egg*/
/build/
/dist/

View File

@ -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