From 1586edbf11c0d823e77418719c25fefb167a36f4 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Tue, 18 Jul 2017 14:45:12 -0700 Subject: [PATCH] Adds sha to script The script doesn't have official versions but I think it would be smart to add a commit sha to the script so that when issues can be tracked to a specific sha of the script. Signed-off-by: Eli Uriegas --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index bd96467..b90b037 100644 --- a/install.sh +++ b/install.sh @@ -13,6 +13,11 @@ set -e # you downloaded matches the contents of install.sh # located at https://github.com/docker/docker-install # before executing. +# +# Git commit from https://github.com/docker/docker-install when +# the script was uploaded (Should only be modified by upload job): +SCRIPT_COMMIT_SHA=UNKNOWN + # This value will automatically get changed for: # * edge @@ -236,6 +241,7 @@ ee_notice() { } do_install() { + echo "Executing docker install script, commit: $SCRIPT_COMMIT_SHA" # TODO: Move this to after we figure out the distribution and the version # to check whether or not we support that distro-version on that arch architecture=$(uname -m)