mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
bin/release: fix sed invocation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user