]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
build: only check src and package files
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 27 Oct 2021 15:55:49 +0000 (17:55 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 27 Oct 2021 15:55:49 +0000 (17:55 +0200)
scripts/release.mjs

index 67068e5d9ae468feb3b89771401f98d0246cb7c9..f62de072c4e57516694910818982b0923656441a 100644 (file)
@@ -324,7 +324,7 @@ async function getChangedPackages() {
       if (!pkg.private) {
         const { stdout: hasChanges } = await run(
           'git',
-          ['diff', lastTag, '--', folder],
+          ['diff', lastTag, '--', join(folder, '{src,package.json}')],
           { stdio: 'pipe' }
         )
         if (hasChanges) {