auto update: add git fetch command

This commit is contained in:
Alice Gaudon 2020-06-15 12:58:27 +02:00
parent 9363873898
commit 94286dc833

View File

@ -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}`);