Skip to content

Commit

Permalink
Merge pull request #29 from Innmind/auto-release
Browse files Browse the repository at this point in the history
Add workflow to automatically create a release
  • Loading branch information
Baptouuuu authored Nov 9, 2024
2 parents d4cc717 + aec61f5 commit dfdebfc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Create release

on:
push:
tags:
- '*'

permissions:
contents: write

jobs:
release:
name: Create release
runs-on: ubuntu-22.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--generate-notes

0 comments on commit dfdebfc

Please sign in to comment.