Skip to content

Commit

Permalink
Add GitHub Actions workflow release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed May 5, 2024
1 parent 7c08f1a commit a2137ae
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release a new version

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

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install gh CLI
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Create Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${GITHUB_REF#refs/tags/} \
--generate-notes
- name: Tag latest
uses: EndBug/latest-tag@v1

0 comments on commit a2137ae

Please sign in to comment.