mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-05 16:59:36 +00:00
add 'realclean' make target to clear out container images
...and use that in bin/release, so that we don't build releases with ancient images.
This commit is contained in:
@@ -88,7 +88,7 @@ build() {
|
||||
## Inject the version numbers and build the distributables
|
||||
## (library versions?)
|
||||
sed -i.tmp "s/SCRIPT_VERSION=\"[^\"]*\"/SCRIPT_VERSION=\"$VERSION\"/" ./scope
|
||||
make SUDO="$SUDO" SCOPE_VERSION="$VERSION" DOCKERHUB_USER="$DOCKERHUB_USER"
|
||||
make SUDO="$SUDO" SCOPE_VERSION="$VERSION" DOCKERHUB_USER="$DOCKERHUB_USER" realclean all
|
||||
|
||||
if make tests SUDO="$SUDO"; then
|
||||
echo -e '\u2713 Tests pass'
|
||||
|
||||
Reference in New Issue
Block a user