Skip to content

Commit

Permalink
change release pipeline to work on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Nov 6, 2024
1 parent 733fd4c commit 59d02b3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Manual Release

on:
workflow_dispatch:
inputs:
version:
description: 'Release version'
required: true
push:
tags:
- 'v*.*' # Adjust this pattern based on your tagging

permissions:
contents: write
Expand Down Expand Up @@ -81,8 +79,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub token for authentication
with:
tag_name: ${{ github.event.inputs.version }} # Tag name from the push event
release_name: Release ${{ github.event.inputs.version }} # Name of the release
tag_name: ${{ github.ref_name }} # Tag name from the push event
release_name: Release ${{ github.ref_name }} # Name of the release
body: ${{ steps.changelog.outputs.changes }}
draft: false # Set to true if you want to create a draft release
prerelease: true # Set to true if this is a prerelease
Expand Down

0 comments on commit 59d02b3

Please sign in to comment.