diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2019-05-15 21:39:54 -0700 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2019-05-16 13:52:00 +0000 |
commit | 781a1243c4992373d47d6aa7b962f4b4a6de0b7e (patch) | |
tree | 44b29024962e6e14aba4c0bcdf80dada7d9f778e /version-manifest/src/main/scripts | |
parent | 48dc6812243324d8ec45dece818fdfa2b996d094 (diff) |
Bump out-of-date staging images to release version
Change-Id: Icd22aca66c6caa919dc9a7a441c4abf92efde5bb
Issue-ID: INT-1055
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'version-manifest/src/main/scripts')
-rwxr-xr-x | version-manifest/src/main/scripts/compare-docker-manifests.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/version-manifest/src/main/scripts/compare-docker-manifests.sh b/version-manifest/src/main/scripts/compare-docker-manifests.sh index 73591326b..875368506 100755 --- a/version-manifest/src/main/scripts/compare-docker-manifests.sh +++ b/version-manifest/src/main/scripts/compare-docker-manifests.sh @@ -20,6 +20,9 @@ for line in $(join -t, $1 $2 | tail -n +2); do if [[ "${staging//./-}_" < "${release//./-}_" ]]; then echo "[ERROR] $image:$staging is out-of-date vs. release ($release)." + + # Uncomment the following to update the staging manifest with the release version + # sed -i "s|$image,.*|$image,$release|g" $2 fi done exit $err |