Skip to content

Commit 8c2e720

Browse files
authored
Add warning to rename script (#34)
1 parent 1640bb1 commit 8c2e720

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

template-only-bin/download-and-install-template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ git checkout "$target_version"
2929
cd - &> /dev/null
3030

3131
echo "Installing ${template_name}..."
32-
curl "https://raw.githubusercontent.com/navapbc/${template_name}/rocket/update-template-only-bin-scripts/template-only-bin/install-template" | bash -s -- "${template_name}" "${app_name}"
32+
curl "https://raw.githubusercontent.com/navapbc/${template_name}/main/template-only-bin/install-template" | bash -s -- "${template_name}" "${app_name}"
3333

3434
echo "Storing template version in a file..."
3535
cd "${template_name}"

template-only-bin/install-template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cd "${template_name}"
2323

2424
if [ "${template_short_name}" != "${app_name}" ]; then
2525
echo "Modifying template to use ${app_name} instead of ${template_short_name}..."
26-
curl "https://raw.githubusercontent.com/navapbc/${template_name}/rocket/update-template-only-bin-scripts/template-only-bin/rename-template-app" | bash -s -- "${template_short_name}" "${app_name}"
26+
curl "https://raw.githubusercontent.com/navapbc/${template_name}/main/template-only-bin/rename-template-app" | bash -s -- "${template_short_name}" "${app_name}"
2727
fi
2828

2929
# Note: Keep this list in sync with the files listed in update-template

template-only-bin/rename-template-app

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,7 @@ for include_path in "${include_paths[@]}"; do
8383
mv "${include_path}" "${new_include_path}"
8484
fi
8585
done
86+
87+
echo
88+
echo "===> Review all changes carefully using 'git diff' before committing!"
89+
echo

0 commit comments

Comments
 (0)