Browse Source

chore: hardcode package name

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6656/head
Pranav C 1 year ago
parent
commit
4fc8ed984e
  1. 3
      .github/workflows/release-npm.yml

3
.github/workflows/release-npm.yml

@ -57,10 +57,11 @@ jobs:
export NOCODB_SDK_PKG_NAME="nocodb-sdk" export NOCODB_SDK_PKG_NAME="nocodb-sdk"
if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then
export NOCODB_SDK_PKG_NAME=nocodb-sdk-daily export NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
exit 0;
fi 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 && 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 && sleep 90 &&
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNocodbSdk.js && 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 && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNcGuiVersion.js &&

Loading…
Cancel
Save