From 7517437953f1cd8cf920201438ee67004c6a097b Mon Sep 17 00:00:00 2001 From: Charlie Drage Date: Tue, 6 Sep 2016 09:10:49 -0400 Subject: [PATCH] Update release script regex Issue with replacing version numbers, this fixes that issue with the release script --- script/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/release.sh b/script/release.sh index 43ac0f84..beee7ffa 100755 --- a/script/release.sh +++ b/script/release.sh @@ -223,7 +223,7 @@ update_library() { git checkout -b $BRANCH # Commit - find . -type f -iname 'Dockerfile' -exec sed -i "s,^FROM.projectatomic*,FROM projectatomic/atomicapp:$1," "{}" +; + find . -type f -iname 'Dockerfile' -exec sed -i "s,FROM projectatomic/atomicapp:[0-9].[0-9].[0-9],FROM projectatomic/atomicapp:$1," "{}" +; git add . git commit -m "Sync with $1 release" git push origin $BRANCH