fix: reset submodule

This commit is contained in:
linonetwo
2023-01-09 15:12:21 +08:00
parent 51a427496c
commit b663e92be8
+1
View File
@@ -15,3 +15,4 @@ cd(`${path.join(repoDirectory, 'src-OctoBase')}`);
await $`git checkout ${octoBaseBranchName}`;
await $`git submodule update --recursive && git submodule update --remote`;
await $`git pull origin ${octoBaseBranchName}`;
await $`git reset --hard origin/${octoBaseBranchName}`;