Skip to content

chore: bump version to 4.0.1 (#133) #48

chore: bump version to 4.0.1 (#133)

chore: bump version to 4.0.1 (#133) #48

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate release notes
run: |
PREV_TAG=$(git tag -l 'v*' --sort=-v:refname | sed -n '2p')
./scripts/generate-release-notes.sh "$PREV_TAG" > /tmp/release-notes.md
- name: Create GitHub Release
env:
GH_TOKEN: ${{ github.token }}
TAG_NAME: ${{ github.ref_name }}
run: |
gh release create "$TAG_NAME" \
--title "ArcKit $TAG_NAME" \
--notes-file /tmp/release-notes.md