Skip to content

Commit

Permalink
Add release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Sauer committed Jan 5, 2025
1 parent ed5f86c commit 03dcb94
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create release

on:
push:
tags:
- "v*"

permissions:
contents: write

jobs:
release:
name: Release pushed tag
runs-on: ubuntu-22.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
make
gh release create "$tag" dist/*.zip \
--repo="$GITHUB_REPOSITORY" \
--title="${tag#v}" \
--generate-notes

0 comments on commit 03dcb94

Please sign in to comment.