Skip to content

Commit 22d66d3

Browse files
author
Alvaro Jose
committed
fix: checkout package.json path
1 parent 1eba356 commit 22d66d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/merge-release-run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const run = async () => {
9494
} else {
9595
exec(`npm publish --access=${access}`, deployDir)
9696
}
97-
exec(`git checkout package.json`) // cleanup
97+
exec(`git checkout ${path.join(deployDir, 'package.json')}`) // cleanup
9898
exec(`git tag ${newVersion}`)
9999
exec(`echo "version=${newVersion}" >> $GITHUB_OUTPUT`)
100100

0 commit comments

Comments
 (0)