Skip to content

v0.42.2

v0.42.2 #293

Workflow file for this run

name: GitHub Release
on:
push:
tags:
- v*
jobs:
Publish:
permissions:
contents: write
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
# We'd use `github.event.head_commit.message`, but that includes the first line of the message. So we check out the code.
- name: Check out code for release body calculation using `git` itself
uses: actions/checkout@v3
- name: Calculate release body
run: git log --format=%b -n 1 HEAD >> /tmp/body-path.txt
- name: Publish release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body_path: /tmp/body-path.txt
draft: false
prerelease: false