diff --git a/Makefile b/Makefile index 49f8962..a71cfe0 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ push: build docker push "cbrgm/drone-hugo:$(hugo)" docker push "cbrgm/drone-hugo:latest" -release: test build push clean +release: $(README_TEMPLATE) test build push clean sed 's//$(hugo)/g' $(README_TEMPLATE) > README.md git add . git commit -m "Updated to the latest Hugo version v.$(hugo), see https://github.com/gohugoio/hugo/releases"