Skip to content

Commit

Permalink
Prepare release (#76)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Mayer <entroP@gmail.com>
  • Loading branch information
apollo13 and justinmayer authored Jun 8, 2023
1 parent e2b7d7b commit 066a46a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,25 +117,25 @@ jobs:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: Setup Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Check release
id: check_release
run: |
python -m pip install --upgrade pip
python -m pip install poetry autopub[github]
echo "##[set-output name=release;]$(autopub check)"
python -m pip install autopub[github]
autopub check
- name: Publish
if: ${{ steps.check_release.outputs.release=='' }}
if: ${{ steps.check_release.outputs.autopub_release=='true' }}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
autopub prepare
autopub commit
poetry build
autopub build
autopub githubrelease
- name: Upload package to PyPI
if: ${{ steps.check_release.outputs.release=='' }}
if: ${{ steps.check_release.outputs.autopub_release=='true' }}
uses: pypa/gh-action-pypi-publish@release/v1
8 changes: 8 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Release type: minor

* Add support for Python 3.11 and Django 4.2, by @MarkusH (#67).
* "Pin" primary keys to `AutoField` so no new migrations are generated for now (#55).
* Properly update `last_used_at` for FIDO tokens, by @MarkusH (#66).
* Improve secret submission security when adding TOTP devices, by @MarkusH (#72).
* Improve QR code display in Django Admin in dark mode, by @evanottinger (#75).
* Publish Kagi via PyPI trusted publisher system, by @apollo13 (#74).

0 comments on commit 066a46a

Please sign in to comment.