Files
devterm/.gitea/workflows/release.yml
7000pctAUTO ee83dd5e87
Some checks failed
CI / test (3.10) (push) Failing after 7s
CI / test (3.11) (push) Failing after 6s
CI / test (3.12) (push) Failing after 7s
CI / test (3.8) (push) Failing after 7s
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / build-package (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
Initial commit: Add devterm project
2026-01-29 11:09:46 +00:00

51 lines
1.2 KiB
YAML

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install build
run: pip install build
- name: Build package
run: python -m build
- name: Create Release
uses: https://gitea.com/actions/release-action@main
with:
files: |
dist/**
LICENSE
README.md
draft: false
prerelease: false
name: ${{ github.ref_name }}
body: |
See [CHANGELOG.md](https://7000pct.gitea.bloupla.net/7000pctAUTO/devterm/src/branch/main/CHANGELOG.md) for release notes.
- name: Create GitHub Release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body_path: CHANGELOG.md
draft: false
prerelease: false