mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 23:19:34 -05:00
Add CHANGELOG section to preview release
Whenever we create a preview release, we extract the `unreleased` section of the CHANGELOG and make it the body of the Github release.
This commit is contained in:
parent
b25d21282d
commit
497a531102
8
.github/workflows/preview-release.yml
vendored
8
.github/workflows/preview-release.yml
vendored
@ -21,6 +21,12 @@ jobs:
|
||||
- name: Give GitHub some time to process the deletion, otherwise our release shows up as draft. Sigh.
|
||||
run: sleep 10
|
||||
|
||||
- name: Extract changelog section for release
|
||||
id: changelog
|
||||
uses: coditory/changelog-parser@v1
|
||||
with:
|
||||
version: unreleased
|
||||
|
||||
- name: Create 'preview' release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
@ -30,4 +36,4 @@ jobs:
|
||||
release_name: preview
|
||||
draft: false
|
||||
prerelease: true
|
||||
body: Preview release of `asb` and `swap`
|
||||
body: ${{ steps.changelog.outputs.description }}
|
||||
|
Loading…
Reference in New Issue
Block a user