From dcb23a517afb281b0e1ac6046f1c6ca851a5ae6d Mon Sep 17 00:00:00 2001 From: Peter Bourgon Date: Mon, 15 Jun 2015 12:49:34 +0200 Subject: [PATCH] bin/release: fix sed invocation --- bin/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/release b/bin/release index 7799d1043..71cd385c8 100755 --- a/bin/release +++ b/bin/release @@ -50,7 +50,7 @@ build() { ## Inject the version numbers and build the distributables ## (library versions?) - sed -i "/SCRIPT_VERSION=/ c\SCRIPT_VERSION=\"$VERSION\"" ./scope + sed -i -e "s/^SCRIPT_VERSION=.*$/SCRIPT_VERSION=\"$VERSION\"/" ./scope make SUDO=$SUDO SCOPE_VERSION=$VERSION DOCKERHUB_USER=$DOCKERHUB_USER if ./bin/test; then