From a62d60430aaee270bb12b845f061705df7fb5fa6 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 11 Oct 2023 16:57:58 +0530 Subject: [PATCH 1/2] chore: add todo message Signed-off-by: Pranav C --- .github/workflows/release-npm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 57f82d08fb..5f3f61a0cf 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -57,6 +57,7 @@ jobs: export NOCODB_SDK_PKG_NAME="nocodb-sdk" if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then export NOCODB_SDK_PKG_NAME=nocodb-sdk-daily + # todo: enable later exit 0; fi echo ${NOCODB_SDK_PKG_NAME} From f6eb7ed3a25d228de584019ddaa208c84e0cbf2e Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 11 Oct 2023 17:06:50 +0530 Subject: [PATCH 2/2] chore: remove unnecessary quotes Signed-off-by: Pranav C --- .github/workflows/release-npm.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 5f3f61a0cf..0af45d3c3f 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -54,15 +54,13 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: | export NODE_OPTIONS="--max_old_space_size=16384" - export NOCODB_SDK_PKG_NAME="nocodb-sdk" - if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then - export NOCODB_SDK_PKG_NAME=nocodb-sdk-daily - # todo: enable later - exit 0; + NOCODB_SDK_PKG_NAME=nocodb-sdk + if [[ ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }} ]]; then + NOCODB_SDK_PKG_NAME=nocodb-sdk-daily fi - echo ${NOCODB_SDK_PKG_NAME} + echo $NOCODB_SDK_PKG_NAME targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js && - pnpm --filter=nocodb-sdk install --ignore-scripts --no-frozen-lockfile && pnpm --filter=nocodb-sdk run build && pnpm --filter=nocodb-sdk publish --no-git-checks && + pnpm --filter=${NOCODB_SDK_PKG_NAME} install --ignore-scripts --no-frozen-lockfile && pnpm --filter=${NOCODB_SDK_PKG_NAME} run build && pnpm --filter=${NOCODB_SDK_PKG_NAME} publish --no-git-checks && sleep 90 && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNocodbSdk.js && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNcGuiVersion.js &&