]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
build: fix script main
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 29 Jan 2026 17:18:36 +0000 (18:18 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 29 Jan 2026 17:18:36 +0000 (18:18 +0100)
scripts/release.ts

index e106e4dc8e72dda43db1089fec4b9c6d003ddc50..6b02c69a9ece7a9b58884fad52df172fd73e3c6b 100644 (file)
@@ -415,7 +415,7 @@ async function main() {
     return
   }
 
-  const { stdout } = await run('git', ['diff'], { stdio: 'pipe' })
+  const { stdout } = await run('git', ['diff', 'HEAD'], { stdio: 'pipe' })
   if (stdout) {
     step('\nCommitting changes...')
     await runIfNotDry('git', ['add', ...FILES_TO_COMMIT])