From 381bf5248715464f4c59e4e454c97dc085c20f8a Mon Sep 17 00:00:00 2001 From: Natanael Arndt Date: Wed, 14 Feb 2024 23:56:34 +0100 Subject: [PATCH] Fix user and email variables for task test --- CHANGELOG.md | 1 + Taskfile.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 709bff2..7904be0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ TODO: add at least one Added, Changed, Deprecated, Removed, Fixed or Security se - Fix `task test` to also have a default project name - Fix `init.defaultBranch` configuration in `task test` +- Fix user and email variables for `task test` ### Changed diff --git a/Taskfile.yml b/Taskfile.yml index 5693b99..9c79cad 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="{{.TEST_GIT_USER_NAME}}" -c user.email="{{.TEST_GIT_USER_EMAIL}}" commit -m "init from template" - cd {{.ONTOLOGY_DIR}} && task ci cd