Improve release make summary
shell compatibility.
This should work with at least bash, dash and zsh.
This commit is contained in:
parent
feb5b0b299
commit
0755f16f9a
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue