Skip to content

Commit

Permalink
Improve _invalid_sequential_version msg. (#533)
Browse files Browse the repository at this point in the history
* Improved `_invalid_sequential_version` msg.

* replace 'recommended' by 'required'.

* Update src/AutoMerge/guidelines.jl

* Update src/AutoMerge/guidelines.jl

---------

Co-authored-by: Eric Hanson <[email protected]>
  • Loading branch information
shayandavoodii and ericphanson authored Dec 7, 2023
1 parent e6ca0c5 commit 07bdb4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoMerge/guidelines.jl
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function meets_repo_url_requirement(pkg::String; registry_head::String)
end

function _invalid_sequential_version(reason::AbstractString)
return false, "Does not meet sequential version number guideline: $reason", :invalid
return false, "Does not meet sequential version number guideline: $(reason). If this was intentional, please leave a comment saying so. Otherwise please correct the version number in your package and re-trigger registration.", :invalid
end

function _valid_change(old_version::VersionNumber, new_version::VersionNumber)
Expand Down

0 comments on commit 07bdb4d

Please sign in to comment.