Escape HTML elements in commit messages
This commit is contained in:
parent
babf14a8d2
commit
cbcdb22670
2 changed files with 12 additions and 12 deletions
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
@ -46,15 +46,15 @@ jobs:
|
||||||
hide-archive-link: true
|
hide-archive-link: true
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
||||||
# - name: Create release at GitHub
|
- name: Create release at GitHub
|
||||||
# run: |
|
run: |
|
||||||
# gh release create "$GITHUB_REF_NAME" \
|
gh release create "$GITHUB_REF_NAME" \
|
||||||
# --repo "$GITHUB_REPOSITORY" \
|
--repo "$GITHUB_REPOSITORY" \
|
||||||
# --title "Antville ${{ github.ref_name }}" \
|
--title "Antville ${{ github.ref_name }}" \
|
||||||
# --notes "${{ steps.create_release_notes.outputs.release_notes }}"
|
--notes "${{ steps.create_release_notes.outputs.release_notes }}"
|
||||||
|
|
||||||
# - name: Upload release assets to GitHub
|
- name: Upload release assets to GitHub
|
||||||
# run: |
|
run: |
|
||||||
# gh release upload "$GITHUB_REF_NAME" build/distributions/ant*.* \
|
gh release upload "$GITHUB_REF_NAME" build/distributions/ant*.* \
|
||||||
# --repo "$GITHUB_REPOSITORY" \
|
--repo "$GITHUB_REPOSITORY" \
|
||||||
# --clobber
|
--clobber
|
||||||
|
|
|
@ -17,7 +17,7 @@ body = """
|
||||||
* [<tt>{{ commit.id | split(pat="") | slice(end=11) | join() }}</tt>]\
|
* [<tt>{{ commit.id | split(pat="") | slice(end=11) | join() }}</tt>]\
|
||||||
(https://code.host.antville.org/antville/antville/commit/{{ commit.id }}) \
|
(https://code.host.antville.org/antville/antville/commit/{{ commit.id }}) \
|
||||||
{% if commit.breaking %}**Breaking:** {% endif %}\
|
{% if commit.breaking %}**Breaking:** {% endif %}\
|
||||||
{{ commit.message | split(pat="\\n") | first | upper_first }}\
|
{{ commit.message | split(pat="\\n") | first | upper_first | escape }}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue