Skip to content

Commit

Permalink
feat(gh_account): Add gh_account variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bengreenier committed Oct 29, 2021
1 parent 49f01a2 commit 16b27bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@ What you get:
- PR build validation.
- Automated Release PR generation using [release-please](https://github.com/googleapis/release-please).
- Automated crates.io publishing (after merging a Release PR).
- [Dependabot](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/about-dependabot-version-updates) daily scans and automated dependency update PR generation.
- [Dependabot](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/about-dependabot-version-updates) automated dependency update PR generation.

## Quickstart

Expand Down
2 changes: 1 addition & 1 deletion single-crate/LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 {{authors}}
Copyright (c) 2021 {{gh_account}}

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion single-crate/README.md
@@ -1,7 +1,8 @@
# {{project-name}}

[![CI](https://github.com/{{authors}}/{{project_name}}/actions/workflows/ci.yml/badge.svg)](https://github.com/{{authors}}/{{project_name}}/actions/workflows/ci.yml)
[![CI](https://github.com/{{gh_account}}/{{project_name}}/actions/workflows/ci.yml/badge.svg)](https://github.com/{{gh_account}}/{{project_name}}/actions/workflows/ci.yml)
[![Crates.io](https://img.shields.io/crates/d/{{project_name}})](https://crates.io/crates/{{project_name}})
[![docs.rs](https://img.shields.io/docsrs/{{project_name}})](https://docs.rs/{{project_name}})
[![dependency status](https://deps.rs/repo/github/{{gh_account}}/{{project_name}}/status.svg)](https://deps.rs/repo/github/{{gh_account}}/{{project_name}})

{{description}}
1 change: 1 addition & 0 deletions single-crate/cargo-generate.toml
Expand Up @@ -2,6 +2,7 @@
cargo_generate_version = ">=0.10.1"

[placeholders]
gh_account = {type = "string", prompt = "What GitHub account will own this project?"}
description = { type = "string", prompt = "Describe this crate:" }
version = {type = "string", prompt = "What's the starting version?", default = "0.1.0"}

Expand Down

0 comments on commit 16b27bf

Please sign in to comment.