From dfbe93a63212a5710426756a3a592b645f020e01 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 7 Mar 2019 12:08:49 -0800 Subject: Add back the docker bumping script We just need to be able to promote this thingt Signed-off-by: Tim Smith --- .expeditor/update_dockerfile.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 .expeditor/update_dockerfile.sh diff --git a/.expeditor/update_dockerfile.sh b/.expeditor/update_dockerfile.sh new file mode 100755 index 0000000000..a9d266ff74 --- /dev/null +++ b/.expeditor/update_dockerfile.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +############################################################################ +# What is this script? +# +# Chef uses a workflow tool called Expeditor to manage version bumps, changelogs +# and releases. When the current release of Chef is promoted to stable this script +# is run by Expeditor to update the version in the Dockerfile to match the stable +# release. +############################################################################ + +set -evx + +sed -i -r "s/^ARG VERSION=.+/ARG VERSION=${EXPEDITOR_VERSION}/" Dockerfile -- cgit v1.2.1