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
When Erlang.mk encounters a dependency on a rebar3 project that utilizes Semantic Versioning (SemVer) in its vsn (version) during the release-making process, an issue arises. The problem occurs because when Erlang.mk identifies a SemVer, the tag is not properly inserted into the application list, resulting in a structure like:
{cowboy, "2.10.0"}
{my_semver_deps}
...
This leads to a crash during the make rel operation. The documentation for git and SemVer, as outlined in http://rebar3.org/docs/basic_usage/#adding-dependencies, provides relevant information on handling dependencies with SemVer in rebar3 projects. I didn't check - but I suppose same issue can be when used atom git in vsn. To reproduce this issue the rebar3 project should have in *.spp.src:
# Get the name of the latest tag
tag=$(git describe --tags --abbrev=0)# Extract SemVer from the tag
semver=$(echo "$tag"| grep -oP 'v?\K\d+\.\d+\.\d+')# Print the extracted SemVerecho"SemVer: $semver"
SemVer: 1.0.1
When Erlang.mk encounters a dependency on a rebar3 project that utilizes Semantic Versioning (SemVer) in its
vsn
(version) during the release-making process, an issue arises. The problem occurs because when Erlang.mk identifies a SemVer, the tag is not properly inserted into the application list, resulting in a structure like:This leads to a crash during the
make rel
operation. The documentation for git and SemVer, as outlined in http://rebar3.org/docs/basic_usage/#adding-dependencies, provides relevant information on handling dependencies with SemVer in rebar3 projects. I didn't check - but I suppose same issue can be when used atomgit
invsn
. To reproduce this issue therebar3
project should have in*.spp.src
:And in
rebar.config
:The text was updated successfully, but these errors were encountered: