mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
add release ci job
This commit is contained in:
@@ -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/*
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user