File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ ask_license() {
85
85
printf " %s\n" " https://help.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository#searching-github-by-license-type" >&2
86
86
87
87
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 " ) "
89
89
keyword=$( echo " $license " | tr ' [:upper:]' ' [:lower:]' )
90
90
91
91
url=" https://choosealicense.com/licenses/$keyword /"
@@ -170,7 +170,7 @@ setup_github() {
170
170
git read-tree --prefix=" " -u template:template/
171
171
172
172
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"
174
174
175
175
set_placeholder " <YOUR TOOL>" " $tool_name " " $out "
176
176
set_placeholder " <TOOL HOMEPAGE>" " $tool_homepage " " $out "
You can’t perform that action at this time.
0 commit comments