Skip to content

Commit 6223ebd

Browse files
committed
chore: use baseBranch instead of hardcoded master
1 parent 2f19e16 commit 6223ebd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/stable-sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async function runGitCommands() {
103103
console.log('Executing extension-specific commands...');
104104

105105
const { stdout: packageJsonContent } = await exec(
106-
'git show origin/master:package.json',
106+
`git show origin/${baseBranch}:package.json`,
107107
);
108108
const packageJson = JSON.parse(packageJsonContent);
109109
const packageVersion = packageJson.version;

0 commit comments

Comments
 (0)