Skip to content

Commit

Permalink
ci(release-workflow): updates release workflow (#44)
Browse files Browse the repository at this point in the history
This commit updates the release workflow, removes the title field from the input, and updates the run-name for the action.
  • Loading branch information
sufyankhanrao authored Sep 22, 2023
1 parent 89b3f40 commit 6de5484
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: Publish Package

run-name: Publishing Package Version ${{ github.event.inputs.Version }}
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"
required: true
default: "0.1.0"
Title:
description: "Title of the release"
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: "Improving API developer experience"

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

0 comments on commit 6de5484

Please sign in to comment.