Skip to content

Release

Release #25

Workflow file for this run

name: Release
on:
create:
jobs:
publish_release:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build Package
run: make package
- name: Generate Changelog
env:
FINCH_CONFIG: .finch/config.release.yml
run: swift run finch compare > changelog.md
- name: Publish Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: gh release create ${GITHUB_REF} -p -F changelog.md Finch.pkg