Merge pull request #14 from seemethere/add_sha_to_script

Adds sha to script
This commit is contained in:
Andrew Hsu authored and GitHub committed 2017-07-18 15:06:49 -07:00
commit 21098d1504
1 file changed
+6
+6
View File
@@ -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)