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

Fall back to reading versions from hex metadata #2854

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

filmor
Copy link
Contributor

@filmor filmor commented Dec 27, 2023

Elixir projects (and probably other non-rebar3 projects as well) don't have an
.app.src file and only get their .app file after succesful compilation. This
seems to trip up the upgrade logic and makes rebar3 tree fail.

With this PR, if the version can not be determined in another way, it is taken
from the hex_metadata.config file if it exists.

@ferd ferd merged commit 837ccb0 into erlang:main Jan 8, 2024
5 of 6 checks passed
@filmor filmor deleted the vsn-from-hex branch April 20, 2024 21:19
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.

None yet

2 participants