add release ci job

This commit is contained in:
Athou
2024-08-12 16:47:32 +02:00
parent 78a5267198
commit dc16e43154
2 changed files with 33 additions and 3 deletions

View File

@@ -119,3 +119,36 @@ jobs:
inputs: athou/commafeed:master
images: athou/commafeed:master-native,athou/commafeed:master-jvm
push: true
release:
runs-on: ubuntu-latest
needs: build
if: github.ref_type == 'tag'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download artifacts
uses: actions/download-artifact@v4
with:
pattern: commafeed-*
path: ./artifacts
merge-multiple: true
- name: Extract Changelog Entry
uses: mindsers/changelog-reader-action@v2
id: changelog_reader
with:
version: ${{ github.ref_name }}
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
name: CommaFeed ${{ github.ref_name }}
body: ${{ steps.changelog_reader.outputs.changes }}
draft: false
prerelease: false
files: ./artifacts/*

View File

@@ -3,9 +3,6 @@ TODO
MVP:
- update github actions
- release after tag
- new job that downloads all artifacts because we need them all to create the release
- update readme
- update docker readme
- update release notes (+ mention h2 migration has been removed, upgrade to last 4.x is required)