mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-20 03:18:18 +00:00
2fd8a1aff5
This should create a release from a tag and populate it with a basic changelog. We'll see if it actually works when we cut the next release! refs: https://github.com/KumoCorp/kumomta/issues/71
22 lines
523 B
YAML
22 lines
523 B
YAML
name: Make Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "20*"
|
|
|
|
jobs:
|
|
make-release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Generate Changelog
|
|
run: echo "See https://docs.kumomta.com/changelog/${{ github.ref_name }}" > ${{ github.workspace }}-CHANGELOG.txt
|
|
- name: Make Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
|
prerelease: true
|
|
draft: true
|