diff options
author | Tim Smith <tsmith@chef.io> | 2019-03-07 12:08:49 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-03-07 12:08:49 -0800 |
commit | dfbe93a63212a5710426756a3a592b645f020e01 (patch) | |
tree | f6523f8427dad2446627a5e5b7380f0df38e1f07 | |
parent | 97171ad1c124477664a6f72f0be8df20c71ac4e1 (diff) | |
download | chef-dfbe93a63212a5710426756a3a592b645f020e01.tar.gz |
Add back the docker bumping script
We just need to be able to promote this thingt
Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-x | .expeditor/update_dockerfile.sh | 14 |
1 files changed, 14 insertions, 0 deletions
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 |