diff --git a/CHANGELOG.md b/CHANGELOG.md index eccdd7b..709bff2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ TODO: add at least one Added, Changed, Deprecated, Removed, Fixed or Security se ### Fixed - Fix `task test` to also have a default project name +- Fix `init.defaultBranch` configuration in `task test` ### Changed diff --git a/Taskfile.yml b/Taskfile.yml index 32291c3..5693b99 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -29,5 +29,5 @@ tasks: - copier copy --vcs-ref {{.TEMPLATE_REVISION}} --defaults -d 'project_name=Test Project' . {{.ONTOLOGY_DIR}} - git init {{.ONTOLOGY_DIR}} - cd {{.ONTOLOGY_DIR}} && git add . - - cd {{.ONTOLOGY_DIR}} && git -c init.defaultBranch main -c user.name="{{.GIT_USER_NAME}}" -c user.email="{{.GIT_USER_EMAIL}}" commit -m "init from template" + - cd {{.ONTOLOGY_DIR}} && git -c init.defaultBranch=main -c user.name="{{.GIT_USER_NAME}}" -c user.email="{{.GIT_USER_EMAIL}}" commit -m "init from template" - cd {{.ONTOLOGY_DIR}} && task ci cd