fix: mark N/A if not provided instead of empty

This commit is contained in:
Wing-Kam Wong
2022-05-04 19:13:35 +08:00
parent de29f13fb8
commit 8ba8d3f0a9
2 changed files with 2 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ jobs:
DOCKER_REPOSITORY=nocodb
DOCKER_BUILD_TAG=${{ github.event.inputs.tag || inputs.tag }}
if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == 'DEV' ]]; then
if [[ ${{ github.event.inputs.currentVersion || inputs.currentVersion || '' }} != '' ]]; then
if [[ ${{ github.event.inputs.currentVersion || inputs.currentVersion || 'N/A' }} != 'N/A' ]]; then
DOCKER_BUILD_TAG=${{ github.event.inputs.currentVersion || inputs.currentVersion }}-${{ github.event.inputs.tag || inputs.tag }}
fi
if [[ ${{ inputs.isDaily || 'N' }} == 'Y' ]]; then