mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 17:03:17 +01:00
chore: workaround goreleaser single-target running multiple hooks bug
Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
parent
ecfba80ca7
commit
2fc2588030
2
Makefile
2
Makefile
@ -324,7 +324,7 @@ $(SNAPSHOT_DIR): ## Build snapshot release for the current platform
|
||||
|
||||
# create a config with the dist dir overridden
|
||||
echo "dist: $(SNAPSHOT_DIR)" > $(TEMP_DIR)/goreleaser.yaml
|
||||
cat .goreleaser.yaml >> $(TEMP_DIR)/goreleaser.yaml
|
||||
perl -0777pe 's/hooks:.*?quill.*?[.]log//s' .goreleaser.yaml >> $(TEMP_DIR)/goreleaser.yaml
|
||||
|
||||
# build release snapshot
|
||||
$(SNAPSHOT_CMD) --config $(TEMP_DIR)/goreleaser.yaml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user