diff options
author | Matt Clay <matt@mystile.com> | 2018-11-15 11:42:57 -0800 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2018-11-15 11:53:38 -0800 |
commit | 0755f16f9a8c80b31da957d447df93c622a8fb77 (patch) | |
tree | 0cb7df468a88cd6a9e069281972b6c7bafc79074 /packaging | |
parent | feb5b0b299054af6df0754b4ca441859bec1ac11 (diff) | |
download | ansible-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/Makefile | 7 |
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 |