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:
parent
d75d92ccd5
commit
679518f911
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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)) \
|
||||
|
|
Loading…
Reference in New Issue