From 14fb0cc45b9dd51fe4547fb1a9134fd58a78e9a9 Mon Sep 17 00:00:00 2001 From: Matthew Glissmann Date: Mon, 22 Jul 2024 18:16:29 -0600 Subject: [PATCH] Update release-stable.mjs (#110) --- grommet-leaflet/tools/release-stable.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/grommet-leaflet/tools/release-stable.mjs b/grommet-leaflet/tools/release-stable.mjs index 86c47a7..60ef26b 100644 --- a/grommet-leaflet/tools/release-stable.mjs +++ b/grommet-leaflet/tools/release-stable.mjs @@ -7,9 +7,6 @@ import 'dotenv/config'; const repoURL = `https://${process.env.GH_TOKEN}@github.com/grommet/grommet-leaflet.git`; const localFolder = path.resolve('.tmp/grommet-leaflet'); const localDist = path.resolve('dist'); -const packageInfo = ['package.json', 'LICENSE', 'README.md'].map( - file => `!${localFolder}/${file}`, -); const BRANCH = 'grommet-leaflet-stable'; @@ -20,8 +17,7 @@ if (process.env.CI) { .then(() => git(localFolder).checkout(BRANCH)) .then(() => deleteAsync([ - `${localFolder}/**/*`, - `!${localFolder}/package.json`, + `${localFolder}/*/*`, ]), ) .then(() => {