You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the readme updater adds the patch version where it wasn't present.
Given the ~> operator's behavior is dependent on whether the patch is present or not, adding the patch version changes the meaning of the version requirement where the ~> operator is used.
Expected Behavior
~> MAJOR.MINOR should be updated to ~> MAJOR.MINOR
Actual Behavior
~> MAJOR.MINOR is updated to ~> MAJOR.MINOR.PATCH
Possible Fix
No response
Steps to Reproduce
Run semantic-release-hex on a repository with a ~> MAJOR.MINOR version requirement in the README.
Description
The current implementation of the readme updater adds the patch version where it wasn't present.
Given the
~>
operator's behavior is dependent on whether the patch is present or not, adding the patch version changes the meaning of the version requirement where the~>
operator is used.Expected Behavior
~> MAJOR.MINOR
should be updated to~> MAJOR.MINOR
Actual Behavior
~> MAJOR.MINOR
is updated to~> MAJOR.MINOR.PATCH
Possible Fix
No response
Steps to Reproduce
Run
semantic-release-hex
on a repository with a~> MAJOR.MINOR
version requirement in the README.Context
Related:
Your Environment
semantic-release-hex
version:v1.1.0
The text was updated successfully, but these errors were encountered: