Added tmpl as a release target in Makefile

This commit is contained in:
cbrgm 2018-03-09 15:28:14 +01:00
commit ae66d65747

View file

@ -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_VERSION>/$(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"