]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
build: fix change check [skip ci]
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 27 Oct 2021 16:06:39 +0000 (18:06 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 27 Oct 2021 16:06:39 +0000 (18:06 +0200)
scripts/release.mjs

index f62de072c4e57516694910818982b0923656441a..1a4338256827aee41f600a78984653239ddbb3e9 100644 (file)
@@ -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,