Skip to content

CORA v2026.0.1

CORA v2026.0.1 #8

Workflow file for this run

name: Create Release on Tag Push
on:
push:
tags:
- '*'
jobs:
create_release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Get Commit Message
id: get_commit_message
run: |
{
echo "commit_message<<EOF"
git log -1 --pretty=format:%B ${{ github.ref }}
echo "EOF"
} >> "$GITHUB_ENV"
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "${{ github.ref_name }}" \
--title "${{ github.ref_name }}" \
--notes "${{ env.commit_message }}"