Skip to content

Commit

Permalink
added release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tagus committed Oct 27, 2024
1 parent a6ba12d commit b3495e2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
File renamed without changes.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: create release

on:
push:
tags:
- 'v*.*.*'

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

0 comments on commit b3495e2

Please sign in to comment.