From 6de5484bc7643d6968dd3b290167bf67792e9acb Mon Sep 17 00:00:00 2001 From: Muhammad Sufyan Date: Fri, 22 Sep 2023 11:57:56 +0500 Subject: [PATCH] ci(release-workflow): updates release workflow (#44) This commit updates the release workflow, removes the title field from the input, and updates the run-name for the action. --- .github/workflows/publish.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c4089f1..a0ee979 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: @@ -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 }}