Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wowchemy/starter-academic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'update_wowchemy.sh')
-rwxr-xr-xupdate_wowchemy.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/update_wowchemy.sh b/update_wowchemy.sh
index fdc57279..0bcc241a 100755
--- a/update_wowchemy.sh
+++ b/update_wowchemy.sh
@@ -24,8 +24,8 @@ function update_wowchemy () {
function update_netlify () {
# - Update Netlify.toml with required Hugo version
if [ -f ./netlify.toml ]; then
- curl -o "tmp_get_version" https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/master/wowchemy/config.toml
- version=$(sed -n 's/^[[:space:]]*min = //p' "tmp_get_version" | tr -d '"')
+ curl -o "tmp_get_version" https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/master/wowchemy/config.yaml
+ version=$(sed -n 's/^[[:space:]]*min: //p' "tmp_get_version" | tr -d "'")
version="${version}"
echo "Set Netlify Hugo version to v${version}"
sed -i.bak -e "s/HUGO_VERSION = .*/HUGO_VERSION = \"$version\"/g" ./netlify.toml && rm -f ./netlify.toml.bak
@@ -38,7 +38,7 @@ update_wowchemy
update_netlify
echo
-echo "If there are breaking changes, the config and/or front matter of content" \
+echo "If there are breaking changes, the site structure, config, and/or front matter of content" \
"may need upgrading by following the steps in the relevant consecutive release notes."
echo
echo "View the update guide at: https://wowchemy.com/docs/update/"