Skip to content

Commit

Permalink
build: script improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Apr 17, 2024
1 parent 069ffd1 commit 93d1302
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions scripts/release.mjs
Expand Up @@ -350,9 +350,13 @@ async function getChangedPackages() {
)
lastTag = stdout
}
const folders = await globby(join(__dirname, '../packages/*'), {
onlyFiles: false,
})
// globby expects `/` even on windows
const folders = await globby(
join(__dirname, '../packages/*').replace(/\\/g, '/'),
{
onlyFiles: false,
}
)

const pkgs = await Promise.all(
folders.map(async (folder) => {
Expand Down

0 comments on commit 93d1302

Please sign in to comment.