From b55a450f44ff71c41760faf81a652124a22a5414 Mon Sep 17 00:00:00 2001 From: Micaiah Martin <77340197+mimartin12@users.noreply.github.com> Date: Mon, 20 Dec 2021 13:19:46 -0700 Subject: [PATCH] Added logic for version check step (#1695) --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 492c1e3b2..bd4e02855 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: release: @@ -31,6 +40,7 @@ jobs: shell: bash - name: Check to make sure Mobile release version has been bumped + if: ${{ github.event.inputs.release_type == 'Initial Release' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: |