Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correctly escape changelog #422

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

lemeurherve
Copy link
Member

To avoid putting the changelog as unescaped/preformated text like in this PR: jenkins-infra/docker-builder#26

Fixes jenkins-infra/docker-builder#27

To avoid putting the changelog as unescaped/preformated text like in this PR: jenkins-infra/docker-builder#26

Fixes jenkins-infra/docker-builder#27
@dduportal dduportal added bug Something isn't working pullrequest-github labels Dec 20, 2021
@dduportal
Copy link
Contributor

dduportal commented Dec 20, 2021

Just tried this change: dduportal/docker-builder#1 .

At first glance, it break the rendering (I might have given you a bad syntax): I'm currently checking.

[edit]

The generated chaneglog markdow section is the following:

## Changelog

<details><summary>Click to expand</summary>

````

````

</details>
  • ✅ Your change regarding the backticks is present and behaves as expected
  • ❌ The block content is empty (while my local command shows me the changelog).

Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently trying to debug this change

@dduportal
Copy link
Contributor

Ping @olblak : I'm trying to confirm that, but it seems that the "empty" changelog is a regression introduced by 0.17.0.

Example: jenkins-infra/kubernetes-management#1831

Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

The "empty block" is another issue (see #423).

This changes behaves as expected.

@dduportal dduportal added this to the 0.17.1 milestone Dec 20, 2021
@dduportal dduportal merged commit 2a80c10 into updatecli:main Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pullrequest-github
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid copying GitHub CLI release notes to this repo
3 participants