Skip to content

Commit

Permalink
create release workflow using version tag (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
harbdog authored Mar 23, 2024
1 parent b3aa4c4 commit 5ad735a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Create Release

on:
push:
tags: ["v*.*.*"]

jobs:
release:
name: Create release from tag
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: false
generate_release_notes: true

0 comments on commit 5ad735a

Please sign in to comment.