From: Eduardo San Martin Morote Date: Wed, 27 Oct 2021 16:06:39 +0000 (+0200) Subject: build: fix change check [skip ci] X-Git-Tag: pinia@2.0.0~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=634669f57f4a64d6664a3c68dda5f45a4082b4bd;p=thirdparty%2Fvuejs%2Fpinia.git build: fix change check [skip ci] --- diff --git a/scripts/release.mjs b/scripts/release.mjs index f62de072..1a433825 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -324,9 +324,17 @@ async function getChangedPackages() { if (!pkg.private) { const { stdout: hasChanges } = await run( 'git', - ['diff', lastTag, '--', join(folder, '{src,package.json}')], + [ + 'diff', + lastTag, + '--', + // apparently {src,package.json} doesn't work + join(folder, 'src'), + join(folder, 'package.json'), + ], { stdio: 'pipe' } ) + if (hasChanges) { return { path: folder,