Closed zhernovs closed 2 years ago
Instead of setting init.defaultBranch to master, determine default branch with git remote if ORT_CONFIG_REVISION was not set.
init.defaultBranch
git remote
Multiline (- |) is here because otherwise semicolon from sed brakes yml syntax.
- |
sed
Signed-off-by: Andriy Zhernovskyi ext-andriy.zhernovskyi@here.com
Instead of setting
init.defaultBranch
to master, determine default branch withgit remote
if ORT_CONFIG_REVISION was not set.Multiline (
- |
) is here because otherwise semicolon fromsed
brakes yml syntax.Signed-off-by: Andriy Zhernovskyi ext-andriy.zhernovskyi@here.com