Skip to content

Commit

Permalink
Update release-stable.mjs (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
halocline authored Jul 23, 2024
1 parent 287a73f commit 14fb0cc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions grommet-leaflet/tools/release-stable.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -20,8 +17,7 @@ if (process.env.CI) {
.then(() => git(localFolder).checkout(BRANCH))
.then(() =>
deleteAsync([
`${localFolder}/**/*`,
`!${localFolder}/package.json`,
`${localFolder}/*/*`,
]),
)
.then(() => {
Expand Down

0 comments on commit 14fb0cc

Please sign in to comment.