summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2018-11-15 11:42:57 -0800
committerToshio Kuratomi <a.badger@gmail.com>2018-11-15 11:53:38 -0800
commit0755f16f9a8c80b31da957d447df93c622a8fb77 (patch)
tree0cb7df468a88cd6a9e069281972b6c7bafc79074 /packaging
parentfeb5b0b299054af6df0754b4ca441859bec1ac11 (diff)
downloadansible-0755f16f9a8c80b31da957d447df93c622a8fb77.tar.gz
Improve release `make summary` shell compatibility.
This should work with at least bash, dash and zsh.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/release/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/release/Makefile b/packaging/release/Makefile
index b21aca446d..d57f5c4143 100644
--- a/packaging/release/Makefile
+++ b/packaging/release/Makefile
@@ -23,9 +23,10 @@ version:
.PHONY: summary
summary:
- @echo 'release_summary: |\n\
- | Release Date: $(shell date '+%Y-%m-%d')\n\
- | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`_' > \
+ @printf '%s\n%s\n%s\n' \
+ 'release_summary: |' \
+ ' | Release Date: $(shell date '+%Y-%m-%d')' \
+ ' | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`_' > \
../../changelogs/fragments/v${version}_summary.yaml
.PHONY: changelog