packaging: Log the version of Erlang used to compile packages

This should help us diagnose situations where the version of Erlang used
to compile is greater than the minimum supported.
This commit is contained in:
Jean-Sébastien Pédron 2017-08-03 10:42:47 +02:00
parent d75d92ccd5
commit 679518f911
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC
4 changed files with 28 additions and 0 deletions

View File

@ -75,6 +75,13 @@ all: package
@:
package: clean
# Log Erlang version.
@echo
@echo '--------------------------------------------------'
@echo "Erlang version used to compile:"
@erl -A0 -noinput -eval 'io:format("~s", [erlang:system_info(system_version)]), halt().'
@echo '--------------------------------------------------'
@echo
# If a signing key ID was specified, verify that the key is available
# before starting a possibly long build. At the same time, display some
# useful informations on the key so the caller can double-check if he

View File

@ -56,6 +56,13 @@ all: package
@:
package: clean
# Log Erlang version.
@echo
@echo '--------------------------------------------------'
@echo "Erlang version used to compile:"
@erl -A0 -noinput -eval 'io:format("~s", [erlang:system_info(system_version)]), halt().'
@echo '--------------------------------------------------'
@echo
# If a signing key ID was specified, verify that the key is available
# before starting a possibly long build. At the same time, display some
# useful informations on the key so the caller can double-check if he

View File

@ -26,6 +26,13 @@ all: dist
@:
dist:
# Log Erlang version.
@echo
@echo '--------------------------------------------------'
@echo "Erlang version used to compile:"
@erl -A0 -noinput -eval 'io:format("~s", [erlang:system_info(system_version)]), halt().'
@echo '--------------------------------------------------'
@echo
xzcat $(SOURCE_DIST_FILE) | tar -xf -
# web-manpages are not used by generic-unix but by `make release` in the.

View File

@ -26,6 +26,13 @@ all: dist
@:
dist:
# Log Erlang version.
@echo
@echo '--------------------------------------------------'
@echo "Erlang version used to compile:"
@erl -A0 -noinput -eval 'io:format("~s", [erlang:system_info(system_version)]), halt().'
@echo '--------------------------------------------------'
@echo
xzcat $(SOURCE_DIST_FILE) | tar -xf -
$(MAKE) -C $(SOURCE_DIR) install-windows \
DESTDIR=$(abspath $(TARGET_DIR)) \