TEST
All checks were successful
/ release (push) Successful in 28s
/ ruff (push) Successful in 25s
/ black (push) Successful in 24s

This commit is contained in:
June 2024-06-11 01:46:59 +02:00
parent 744bbdb245
commit 69e1b9a236
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -0,0 +1,24 @@
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Get release notes from tag
run: echo "RELEASE_NOTES=$(git tag -l --format='%(contents)' ${{ env.GITHUB_REF_NAME }})" >> "$GITHUB_ENV"
- name: Install Hatch
uses: https://github.com/pypa/hatch@install
- name: Build project
run: hatch build
- name: Create a Forgejo release
uses: actions/forgejo-release@v2
with:
direction: upload
url: https://git.hamburg.ccc.de
release-dir: dist
release-notes: ${{ env.RELEASE_NOTES }}
token: ${{ env.GITHUB_TOKEN }}