Browse Source

chore: action logic

Signed-off-by: mertmit <mertmit99@gmail.com>
chore/fix/rr
mertmit 1 year ago
parent
commit
dec5cf9a3a
  1. 2
      .github/workflows/release-docker.yml
  2. 2
      .github/workflows/release-npm.yml

2
.github/workflows/release-docker.yml

@ -91,7 +91,7 @@ jobs:
run: | run: |
export NODE_OPTIONS="--max_old_space_size=16384" export NODE_OPTIONS="--max_old_space_size=16384"
NOCODB_SDK_PKG_NAME=nocodb-sdk NOCODB_SDK_PKG_NAME=nocodb-sdk
if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == "DEV" ]]; then
NOCODB_SDK_PKG_NAME=nocodb-sdk-daily NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
fi fi
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&

2
.github/workflows/release-npm.yml

@ -55,7 +55,7 @@ jobs:
- run: | - run: |
export NODE_OPTIONS="--max_old_space_size=16384" export NODE_OPTIONS="--max_old_space_size=16384"
NOCODB_SDK_PKG_NAME=nocodb-sdk NOCODB_SDK_PKG_NAME=nocodb-sdk
if [[ ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }} ]]; then if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == "DEV" ]]; then
NOCODB_SDK_PKG_NAME=nocodb-sdk-daily NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
fi fi
echo $NOCODB_SDK_PKG_NAME echo $NOCODB_SDK_PKG_NAME

Loading…
Cancel
Save