Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfedosov authored Oct 13, 2024
1 parent a59bbef commit ca76722
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ on:
push:
tags:
- 'v*'

workflow_dispatch:
inputs:
version:
description: 'Version number for this release (e.g., v1.0.0)'
required: true
default: 'v1.0.0'

jobs:
build:
name: Build and Release
Expand Down Expand Up @@ -50,8 +56,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ github.event.inputs.version || github.ref }}
release_name: Release ${{ github.event.inputs.version || github.ref }}
draft: false
prerelease: false

Expand All @@ -62,3 +68,4 @@ jobs:
with:
files: |
move-tool-*-*
tag_name: ${{ github.event.inputs.version || github.ref }}

0 comments on commit ca76722

Please sign in to comment.