Browse Source

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

pull/1972/head
Wing-Kam Wong 2 years ago
parent
commit
8ba8d3f0a9
  1. 2
      .github/workflows/release-docker.yml
  2. 1
      .github/workflows/release-nocodb.yml

2
.github/workflows/release-docker.yml

@ -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

1
.github/workflows/release-nocodb.yml

@ -98,6 +98,7 @@ jobs:
needs: [release-draft-note, process-input]
uses: ./.github/workflows/release-docker.yml
with:
currentVersion: 'N/A'
tag: ${{ needs.process-input.outputs.target_tag }}
targetEnv: ${{ github.event.inputs.targetEnv || 'PROD' }}
secrets:

Loading…
Cancel
Save