Skip to content

Commit

Permalink
fix gh repo create
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Nov 4, 2024
1 parent b65d7a2 commit 0cfdcdf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ internal fun Path.createGitHubRepository(repository: GitHubRepository, defaultDe
return UploadResult(false, false)
}

runCommand("gh", "repo", "create", "--public", "-s", ".")
runCommand("git", "push", "origin", ".")
runCommand("gh", "repo", "create", "--public", "-s", ".", "--push", "${repository.owner}/${repository.name}",)

val gitHubDescription = KInquirer.promptInput("GitHub description", defaultDescription)
val gitHubTopics = KInquirer.promptInput("GitHub topics (use comma separated list)", "kotlin").split(",").map { it.trim() }
Expand Down

0 comments on commit 0cfdcdf

Please sign in to comment.