Added logic for redeployments (#428)

This commit is contained in:
Micaiah Martin 2021-12-20 13:19:31 -07:00 committed by GitHub
parent afbf6529c1
commit eb122532bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,15 @@ name: Release
on: on:
workflow_dispatch: workflow_dispatch:
inputs:
release_type:
description: 'Release Options'
required: true
default: 'Initial Release'
type: choice
options:
- Initial Release
- Redeploy
jobs: jobs:
setup: setup:
@ -31,6 +40,7 @@ jobs:
echo "::set-output name=package_version::$PKG_VERSION" echo "::set-output name=package_version::$PKG_VERSION"
- name: Check to make sure CLI release version has been bumped - name: Check to make sure CLI release version has been bumped
if: ${{ github.event.inputs.release_type == 'Initial Release' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |