From 8837122d96c305cb27d237c0af056acc8ec3c340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A4ser?= Date: Fri, 10 Feb 2023 12:18:30 +0100 Subject: [PATCH] chore: rename hide file for copy sync --- scripts/strapi/build-staging.js | 2 +- scripts/strapi/sources/strapi-updater.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 scripts/strapi/sources/strapi-updater.json diff --git a/scripts/strapi/build-staging.js b/scripts/strapi/build-staging.js index bd04bfb..6648c93 100644 --- a/scripts/strapi/build-staging.js +++ b/scripts/strapi/build-staging.js @@ -6,4 +6,4 @@ fse.copySync(path.join(__dirname, '..', '..', 'public'), path.join(__dirname, '. fs.copyFileSync(path.join(__dirname, '..', '..', '.env.staging'), path.join(__dirname, '..', '..', 'dist', 'strapi', '.env')); fs.copyFileSync(path.join(__dirname, 'sources/server.js'), path.join(__dirname, '..', '..', 'dist', 'strapi', 'server.js')); fs.copyFileSync(path.join(__dirname, 'sources/package.json'), path.join(__dirname, '..', '..', 'dist', 'strapi', 'package.json')); -fs.copyFileSync(path.join(__dirname, 'sources/.strapi-updater.json'), path.join(__dirname, '..', '..', 'dist', 'strapi', '.strapi-updater.json')); +fs.copyFileSync(path.join(__dirname, 'sources/strapi-updater.json'), path.join(__dirname, '..', '..', 'dist', 'strapi', '.strapi-updater.json')); diff --git a/scripts/strapi/sources/strapi-updater.json b/scripts/strapi/sources/strapi-updater.json new file mode 100644 index 0000000..19696e0 --- /dev/null +++ b/scripts/strapi/sources/strapi-updater.json @@ -0,0 +1,4 @@ +{ + "latest": "4.5.6", + "lastUpdateCheck": 1674315789881 +} \ No newline at end of file