auto update: add git fetch command
This commit is contained in:
parent
9363873898
commit
94286dc833
@ -31,6 +31,9 @@ export default class AutoUpdateComponent extends ApplicationComponent<void> {
|
|||||||
try {
|
try {
|
||||||
Logger.info('Starting auto update...');
|
Logger.info('Starting auto update...');
|
||||||
|
|
||||||
|
// Fetch
|
||||||
|
await this.runCommand(`git fetch`);
|
||||||
|
|
||||||
// Checkout new source
|
// Checkout new source
|
||||||
await this.runCommand(`git checkout ${checkout_sha}`);
|
await this.runCommand(`git checkout ${checkout_sha}`);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user