Skip to content

Commit

Permalink
ci(release-workflow): updates release workflow (#49)
Browse files Browse the repository at this point in the history
This commit updates the release workflow and remove the title field from the input and updates the run-name for the action. skip-ci
  • Loading branch information
sufyankhanrao committed Sep 22, 2023
1 parent 61d5160 commit dd04271
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Release To Maven Central
run-name: Release ${{ github.event.inputs.Version }}
run-name: Publishing Package Version ${{ github.event.inputs.Version }}
# Run workflow on commits to the `main` branch
on:
workflow_dispatch:
inputs:
Version:
description: "Version to be released in format: x.y.z, where x => major version, y => minor version and z => patch version"
description: "This input field requires version in format: x.y.z, where x => major version, y => minor version and z => patch version"
required: true
default: "0.1.0"

jobs:
publish:
Expand Down Expand Up @@ -66,5 +65,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Version ${{ github.event.inputs.Version }}
name: Release Version ${{ github.event.inputs.Version }}
body: ${{ steps.tag_version.outputs.changelog }}

0 comments on commit dd04271

Please sign in to comment.