Skip to content

Commit

Permalink
Fix user and email variables for task test
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Feb 14, 2024
1 parent 6ac2ebf commit 381bf52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 381bf52

Please sign in to comment.