fixing the versions

This commit is contained in:
Joseph Flinn 2021-01-28 20:49:46 +00:00
parent cc16245115
commit 1f6d095ab1
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ on:
required: true required: true
release: release:
types: types:
- released
- published - published
@ -25,7 +24,7 @@ jobs:
- name: Create Deploy version vars - name: Create Deploy version vars
id: create_tags id: create_tags
run: | run: |
if [[ "${{ github.event_name }}" -eq "release" ]]; then if ! [[ "${{ github.event_name }}" -eq "release" ]]; then
case "${RELEASE_TAG_NAME_INPUT:0:1}" in case "${RELEASE_TAG_NAME_INPUT:0:1}" in
v) v)
echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV