mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
correct validate-grype-test-target check
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
9bf97a9e73
commit
14cceee5e8
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -222,7 +222,11 @@ changelog-unreleased: ## show the current changelog that will be produced on the
|
||||||
.PHONY: validate-grype-test-config
|
.PHONY: validate-grype-test-config
|
||||||
validate-grype-test-config:
|
validate-grype-test-config:
|
||||||
# ensure the update URL is not overridden (not pointing to staging)
|
# ensure the update URL is not overridden (not pointing to staging)
|
||||||
@ grep -q "update-url" test/grype-test-config.yaml && echo "Found 'update-url' in CLI testing config. Cannot release if previous CLI testing did not use production (default) values"
|
@bash -c '\
|
||||||
|
grep -q "update-url" test/grype-test-config.yaml; \
|
||||||
|
if [ $$? -eq 0 ]; then \
|
||||||
|
echo "Found \"update-url\" in CLI testing config. Cannot release if previous CLI testing did not use production (default) values"; \
|
||||||
|
fi'
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release: clean-dist validate-grype-test-config changelog-release ## Build and publish final binaries and packages. Intended to be run only on macOS.
|
release: clean-dist validate-grype-test-config changelog-release ## Build and publish final binaries and packages. Intended to be run only on macOS.
|
||||||
|
|
Loading…
Reference in a new issue