Skip to content

Commit

Permalink
ci: add github action to automate releases
Browse files Browse the repository at this point in the history
  • Loading branch information
danctorres committed Jan 23, 2025
1 parent 64bd52a commit 24e2bb0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Release
on: # yamllint disable-line rule:truthy
push:
tags:
- 'v*'

jobs:
create-release:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
repository-projects: write

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

- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body: |
- Commit: ${{ github.sha }}
draft: false
prerelease: false

0 comments on commit 24e2bb0

Please sign in to comment.