Skip to content

Commit

Permalink
[devops/#1514] Set up release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
nevinsm committed May 24, 2024
1 parent c351eaa commit ca56197
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*' # Create release for any tag starting with 'v'

jobs:
release:
name: Create GitHub Release
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Create GitHub Release
run: |
gh release create "$TAG" --verify-tag \
--title "$TAG: $(date '+%Y-%m-%d')" \
--generate-notes \
--latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref_name }}

0 comments on commit ca56197

Please sign in to comment.