bin/release: fix sed invocation

This commit is contained in:
Peter Bourgon
2015-06-15 12:49:34 +02:00
parent e44da9668b
commit dcb23a517a

View File

@@ -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