Added logic for redeployments (#428)
This commit is contained in:
parent
afbf6529c1
commit
eb122532bd
|
@ -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: |
|
||||||
|
|
Loading…
Reference in New Issue