Skip to content

Commit

Permalink
fix: try fixing unknown user error
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Oct 5, 2024
1 parent 59e5678 commit 79c6b0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Project aims to provide a comprehensive continuous integration and delivery pipe
* [`cocogitto`](https://github.com/cocogitto/cocogitto) - Assert usage of convetional commits.

Pipeline will also executes tests with `cargo`, `mdbook` (if enabled), and `cargo llvm-cod` for code coverage reporting.

Release pipeline publishes the crates to [crates.io](https://crates.io/) and the book to [GitHub Pages](https://pages.github.com/).

### Proposed improvements
Expand Down
8 changes: 7 additions & 1 deletion cargo_generate/script.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ fn add_repository() {

let remote = `${prefix}${repository_path}.git`;

system::command("git", ["remote", "add", "origin", remote]);
system::command("git", [
"-c",
"user.name='temp'",
"-c",
"user.email='temp@temp.com'",
"remote", "add", "origin", remote
]);
}

fn template_license() {
Expand Down

0 comments on commit 79c6b0b

Please sign in to comment.