Files
kumomta/.github/workflows/make-release.yml
T
Wez Furlong 2fd8a1aff5 ci: add release creationg workflow
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
2023-08-07 08:21:35 -07:00

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