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
rebar3 allows a new way to replace the version in the app.src file by the content of another file. The vsn value is set to {file, "<NAMEOFFILE>"} where the content is replaced at compile time by the content of the file <NAMEOFFILE>. Exeple with the opentelemetry_ap application?.
Thanks. In the meantime you may use a patch as we discussed. Here's an example Makefile doing an autopatch (in this case it creates a file in the dep's directory, you'll want to do the patch command instead):
PROJECT = z
PROJECT_DESCRIPTION = New project
PROJECT_VERSION = 0.1.0
DEPS = opentelemetry_api
dep_opentelemetry_api = git-subfolder https://github.com/open-telemetry/opentelemetry-erlang main apps/opentelemetry_api
include erlang.mk
autopatch-opentelemetry_api::
touch $(DEPS_DIR)/opentelemetry_api/HELLO
You need to put the autopatch target after the include.
rebar3 allows a new way to replace the version in the
app.src
file by the content of another file. Thevsn
value is set to{file, "<NAMEOFFILE>"}
where the content is replaced at compile time by the content of the file<NAMEOFFILE>
. Exeple with the opentelemetry_ap application?.The app.src is:
The
.app
file should be:But with erlang.mk the
vsn
is still{file,"VERSION"}
after the compilation.The text was updated successfully, but these errors were encountered: