Skip to content

Commit

Permalink
Adjust release stable script (#98)
Browse files Browse the repository at this point in the history
* Create main.yml

* Add release-stable script

* change workflow file name

* adjust release-stable script

* fix working directory

* fix working directory

* Adjust release-stable script
  • Loading branch information
halocline authored Jul 19, 2024
1 parent 30ce250 commit 0aa9f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grommet-leaflet/tools/release-stable.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { deleteSync } from 'del';
import { deleteASync } from 'del';
import fs from 'fs-extra';
import git from 'simple-git';
import path from 'path';
Expand All @@ -11,7 +11,7 @@ const localDist = path.resolve('dist');
const BRANCH = 'grommet-leaflet-stable';

if (process.env.CI) {
deleteSync(localFolder).then(() => {
deleteASync(localFolder).then(() => {
git()
.clone(repoURL, localFolder)
.then(() => git(localFolder).checkout(BRANCH))
Expand Down

0 comments on commit 0aa9f84

Please sign in to comment.