Browse Source

Merge pull request #6660 from nocodb/develop

pull/6665/head
github-actions[bot] 1 year ago committed by GitHub
parent
commit
1c866b4485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/release-docker.yml
  2. 10
      .github/workflows/release-npm.yml

3
.github/workflows/release-docker.yml

@ -90,10 +90,7 @@ jobs:
if: ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}
run: |
export NODE_OPTIONS="--max_old_space_size=16384"
NOCODB_SDK_PKG_NAME=nocodb-sdk
if [[ ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }} ]]; then
NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
fi
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&
pnpm --filter=${NOCODB_SDK_PKG_NAME} install --ignore-scripts --no-frozen-lockfile && pnpm --filter=${NOCODB_SDK_PKG_NAME} run build &&
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNocodbSdk.js &&

10
.github/workflows/release-npm.yml

@ -54,13 +54,13 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: |
export NODE_OPTIONS="--max_old_space_size=16384"
NOCODB_SDK_PKG_NAME=nocodb-sdk
if [[ ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }} ]]; then
NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
fi
# 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
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&
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 &&
pnpm --filter=nocodb-sdk install --ignore-scripts --no-frozen-lockfile && pnpm --filter=nocodb-sdk run build && pnpm --filter=nocodb-sdk 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 &&

Loading…
Cancel
Save