From eb122532bdbe21240b2d3699939b380408d2dd66 Mon Sep 17 00:00:00 2001 From: Micaiah Martin <77340197+mimartin12@users.noreply.github.com> Date: Mon, 20 Dec 2021 13:19:31 -0700 Subject: [PATCH] Added logic for redeployments (#428) --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d889aacf82..a51d9c8fe9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,15 @@ name: Release on: workflow_dispatch: + inputs: + release_type: + description: 'Release Options' + required: true + default: 'Initial Release' + type: choice + options: + - Initial Release + - Redeploy jobs: setup: @@ -31,6 +40,7 @@ jobs: echo "::set-output name=package_version::$PKG_VERSION" - name: Check to make sure CLI release version has been bumped + if: ${{ github.event.inputs.release_type == 'Initial Release' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: |