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

Ignore existing release null body #104

Closed

Conversation

electrofelix
Copy link

Using the SOLIDSoftworks/semver-tags action will result in a release
created that doesn't contain anything for the release body. The
consequences is that the updated release body will appear to contain the
string null followed by a newline and then the release body as
specified for this action.

In such a case it appears to make more sense to ignore the existing
release body should it be currently null instead of implicitly
converting it to a string for the updated release body.

Using the SOLIDSoftworks/semver-tags action will result in a release
created that doesn't contain anything for the release body. The
consequences is that the updated release body will appear to contain the
string `null` followed by a newline and then the release body as
specified for this action.

In such a case it appears to make more sense to ignore the existing
release body should it be currently `null` instead of implicitly
converting it to a string for the updated release body.
@electrofelix electrofelix changed the title Ignore null release body Ignore existing release null body May 13, 2021
@softprops
Copy link
Owner

thanks @filips123 but I already merged in #109 which mentioned it might have solved this. Im going to working on cutting a release and will then follow up if it doesn't I'll follow up on this pr

@electrofelix
Copy link
Author

@softprops think you tagged the wrong person, but either way happy to see if fixed. Looks to me like the other PR covers this case, so closing and deleting the PR.

@electrofelix electrofelix deleted the ignore-empty-release branch July 18, 2021 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants