Skip to content

Conversation

essen
Copy link
Contributor

@essen essen commented Apr 27, 2022

This allows using integer release versions "1", "2" and so on instead of semver, like was possible in Relx 3. In current main branch this only seems to be an issue when creating relups without providing the previous version, in that case the crash happens at https://github.com/erlware/relx/blob/main/src/rlx_relup.erl#L95

I have also changed the returned value 0 because it resulted in unhelpful crashes down the line because the code didn't expect an integer but a tuple.

Tested against Erlang.mk tests.

@essen
Copy link
Contributor Author

essen commented Apr 29, 2022

I'll resubmit the two fixes as two separate PRs.

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.

1 participant