Skip to content

Release on tag v5.9.1-b2 #17

Release on tag v5.9.1-b2

Release on tag v5.9.1-b2 #17

Workflow file for this run

on:
push:
tags:
- 'v*'
name: Release on tag
run-name: Release on tag ${{ github.ref_name }}
jobs:
build_win:
name: Build and upload ${{ github.ref_name }} (Windows)
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Get annotation
id: tag-data
run: |
{
echo 'annotation <<EOF'
git for-each-ref "${GITHUB_REF}" --format '%(contents)'
echo 'EOF'
} >> "${GITHUB_OUTPUT}"
- name: Build release
run: ./build_release_windows.sh "${{ github.ref_name }}"
- name: Publish release
uses: softprops/action-gh-release@v2
with:
make_latest: true
body: ${{ steps.tag-data.outputs.annotation }}
files: dist/*
build_linux:
name: Build and upload ${{ github.ref_name }} (Linux)
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Get annotation
id: tag-data
run: |
{
echo 'annotation <<EOF'
git for-each-ref "${GITHUB_REF}" --format '%(contents)'
echo 'EOF'
} >> "${GITHUB_OUTPUT}"
- name: Build release
run: ./build_release_linux.sh "${{ github.ref_name }}"
- name: Publish release
uses: softprops/action-gh-release@v2
with:
make_latest: true
body: ${{ steps.tag-data.outputs.annotation }}
files: dist/*
build_macos:
name: Build and upload ${{ github.ref_name }} (MacOS)
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Get annotation
id: tag-data
run: |
{
echo 'annotation <<EOF'
git for-each-ref "${GITHUB_REF}" --format '%(contents)'
echo 'EOF'
} >> "${GITHUB_OUTPUT}"
- name: Build release
run: ./build_release_macos.sh "${{ github.ref_name }}"
- name: Publish release
uses: softprops/action-gh-release@v2
with:
make_latest: true
body: ${{ steps.tag-data.outputs.annotation }}
files: dist/*