Improve release `make summary` shell compatibility.

This should work with at least bash, dash and zsh.
pull/48748/head
Matt Clay 6 years ago committed by Toshio Kuratomi
parent feb5b0b299
commit 0755f16f9a

@ -23,9 +23,10 @@ version:
.PHONY: summary .PHONY: summary
summary: summary:
@echo 'release_summary: |\n\ @printf '%s\n%s\n%s\n' \
| Release Date: $(shell date '+%Y-%m-%d')\n\ 'release_summary: |' \
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`_' > \ ' | Release Date: $(shell date '+%Y-%m-%d')' \
' | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`_' > \
../../changelogs/fragments/v${version}_summary.yaml ../../changelogs/fragments/v${version}_summary.yaml
.PHONY: changelog .PHONY: changelog

Loading…
Cancel
Save