Skip to content

Merge branch 'main' of github.com:pawamoy/copier-uv #37

Merge branch 'main' of github.com:pawamoy/copier-uv

Merge branch 'main' of github.com:pawamoy/copier-uv #37

Workflow file for this run

name: release
on: push
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Setup uv
uses: astral-sh/setup-uv@v3
- name: Prepare release notes
run: uv tool run git-changelog --release-notes > release-notes.md
- name: Create release
uses: softprops/action-gh-release@v2
with:
body_path: release-notes.md