-
Notifications
You must be signed in to change notification settings - Fork 31
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
add a note about pre-v1 breaking changes #597
base: master
Are you sure you want to change the base?
Conversation
We do have this info, so we could figure out a way to propagate it. |
btw this code change only affects the docs, not the actual message being shown to the user in the PR |
Should be ready for review now. |
end | ||
if version < v"1.0.0" | ||
msg *= """ | ||
Given this is a pre-v1.0.0 release, you may have not intended to make a breaking change release. [More information](https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0) on Julia's handling of pre-v1.0.0 versioning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should make this more "actionable", like if this was intended do X, if it was not intended do Y
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe:
Given this is a pre-v1.0.0 release, you may have not intended to make a breaking change release. [More information](https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0) on Julia's handling of pre-v1.0.0 versioning. | |
Given this is a pre-v1.0.0 release, you may have not intended to make a breaking change release (see [here](https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0) for more on Julia's handling of pre-v1.0.0 versioning). **If you did not mean to make a breaking release**, leave a comment that the PR should be closed, update the version number in your package, and trigger registration again. |
Ideally we'd not show this if it isn't pre-v1 but I couldn't see a way to do that.Now implemented.