Rename default branch from master to main

This commit is contained in:
Frédéric Guillot
2022-08-11 20:49:37 -07:00
committed by Frédéric Guillot
parent ce6c4dfc67
commit b433519686
10 changed files with 13 additions and 13 deletions

View File

@@ -197,12 +197,12 @@ function build_app_version($ref, $commit_hash)
}
if ($commit_hash !== '$Format:%H$') {
return 'master.'.$commit_hash;
return 'main.'.$commit_hash;
} else if (file_exists('/version.txt')) {
return rtrim(file_get_contents('/version.txt'));
}
return 'master.unknown_revision';
return 'main.unknown_revision';
}
/**