Skip to content

Commit

Permalink
Automatically create release
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed May 16, 2024
1 parent 6f3508d commit f7e5f37
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get version number
id: version
run: echo "version=$(echo ${{ github.ref_name }} | cut -c2- -)" >> $GITHUB_OUTPUT
- name: Release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
makeLatest: "legacy"
name: "Version ${{ steps.version.outputs.version }}"

0 comments on commit f7e5f37

Please sign in to comment.