Skip to content

Commit 75a6216

Browse files
authored
fix: clarify license selection (#72)
1 parent 26b4c7b commit 75a6216

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ask_license() {
8585
printf "%s\n" "https://help.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository#searching-github-by-license-type" >&2
8686

8787
while true; do
88-
license="$(ask_for "License keyword:" "apache-2.0" "mit/[apache-2.0]/agpl-3.0/unlicense")"
88+
license="$(ask_for "License keyword:" "APACHE-2.0" "MIT/APACHE-2.0/MPL-2.0/AGPL-3.0")"
8989
keyword=$(echo "$license" | tr '[:upper:]' '[:lower:]')
9090

9191
url="https://choosealicense.com/licenses/$keyword/"
@@ -170,7 +170,7 @@ setup_github() {
170170
git read-tree --prefix="" -u template:template/
171171

172172
download_license "$license_keyword" "$out/LICENSE"
173-
sed -i '1s;^;TODO: INSERT YOUR NAME & COPYRIGHT YEAR\n;g' "$out/LICENSE"
173+
sed -i '1s;^;TODO: INSERT YOUR NAME & COPYRIGHT YEAR (if applicable to your license)\n;g' "$out/LICENSE"
174174

175175
set_placeholder "<YOUR TOOL>" "$tool_name" "$out"
176176
set_placeholder "<TOOL HOMEPAGE>" "$tool_homepage" "$out"

0 commit comments

Comments
 (0)