mirror of https://github.com/laurent22/joplin.git
Chore: Desktop: Fix default-plugins build doesn't checkout the correct commit (#9813)
Fixes an issue where the default plugins build script didn't always checkout the correct commit before building.pull/9810/head^2
parent
e4197a985e
commit
99e8818ba0
|
@ -41,7 +41,7 @@ const buildDefaultPlugins = async (outputParentDir: string|null, beforeInstall:
|
|||
}
|
||||
|
||||
chdir(pluginDir);
|
||||
const currentCommitHash = (await execCommand(['git', 'rev-parse', 'HEAD~'])).trim();
|
||||
const currentCommitHash = (await execCommand(['git', 'rev-parse', 'HEAD'])).trim();
|
||||
const expectedCommitHash = repositoryData.commit;
|
||||
|
||||
if (currentCommitHash !== expectedCommitHash) {
|
||||
|
|
Loading…
Reference in New Issue