Add Err
and Ferr
convenience functions for printing errors direct…
#3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
permissions: {} | |
jobs: | |
ci: | |
name: CI | |
uses: FollowTheProcess/msg/.github/workflows/CI.yml@main | |
secrets: inherit | |
permissions: | |
contents: read | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: read | |
needs: | |
- ci | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Fetch Existing Tags | |
run: git fetch --force --tags | |
- name: Parse Release Version | |
id: version | |
run: | | |
VERSION=${GITHUB_REF#refs/tags/v} | |
echo "version=$VERSION" >> $GITHUB_OUTPUT | |
- name: Publish Draft Release | |
uses: release-drafter/release-drafter@v6 | |
with: | |
version: ${{ steps.version.outputs.version }} | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |