From f7f89935c722124f0aaae98fd3245d3ac8589124 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 19 Feb 2022 18:24:45 +0800 Subject: [PATCH] chore: change -dev to -daily Signed-off-by: Wing-Kam Wong --- .github/workflows/release-docker.yml | 2 +- packages/nc-gui/nuxt.config.js | 2 +- scripts/upgradeNcGui.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 6f76486d38..be07ca218c 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -45,7 +45,7 @@ jobs: run: | DOCKER_REPOSITORY=nocodb if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == 'DEV' ]]; then - DOCKER_REPOSITORY=${DOCKER_REPOSITORY}-dev + DOCKER_REPOSITORY=${DOCKER_REPOSITORY}-daily fi echo "::set-output name=DOCKER_REPOSITORY::${DOCKER_REPOSITORY}" echo ${DOCKER_REPOSITORY} diff --git a/packages/nc-gui/nuxt.config.js b/packages/nc-gui/nuxt.config.js index 818ef22fec..4b16db39bd 100644 --- a/packages/nc-gui/nuxt.config.js +++ b/packages/nc-gui/nuxt.config.js @@ -179,7 +179,7 @@ export default { // nightly build // e.g. 0.84.2-20220220-1250 packageJson.version = `${packageJson.version}-${process.env.targetVersion}` - packageJson.name += '-dev' + packageJson.name += '-daily' } else { packageJson.version = version } diff --git a/scripts/upgradeNcGui.js b/scripts/upgradeNcGui.js index 34d1495893..a06d83bfc7 100644 --- a/scripts/upgradeNcGui.js +++ b/scripts/upgradeNcGui.js @@ -25,13 +25,13 @@ const bumbVersionAndSave = () => { execSync(`cd packages/nocodb && npm install --save --save-exact ${ncLibPackage.name}@${ncLibPackage.version}`, {}); const nocodbPackageFilePath = path.join(__dirname, '..', 'packages', 'nocodb', 'package.json') const nocoLibPackage = JSON.parse(fs.readFileSync(nocodbPackageFilePath)) - nocoLibPackage.name = `${nocoLibPackage.name}-dev` + nocoLibPackage.name = `${nocoLibPackage.name}-daily` nocoLibPackage.version = ncLibPackage.version fs.writeFileSync(nocodbPackageFilePath, JSON.stringify(nocoLibPackage, null, 2)); } if (process.env.targetEnv === 'DEV') { - // replace nc-lib-gui by nc-lib-gui-dev if it is nightly build + // replace nc-lib-gui by nc-lib-gui-daily if it is nightly build const filePaths = [ path.join(__dirname, '..', 'packages', 'nocodb', 'Dockerfile'), path.join(__dirname, '..', 'packages', 'nocodb', 'litestream', 'Dockerfile'),