mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00:00
snap: Build using destructive mode
Destructive mode is required to build the Kata Containers snap. See: ``` .github/workflows/snap-release.yaml .github/workflows/snap.yaml ``` Hence, update the last file that we forgot to update with `--destructive-mode`. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
60823abb9c
commit
cb2b30970d
@ -29,6 +29,6 @@ snap: $(YQ)
|
||||
@if [ "$$(cat $(VERSION_FILE))" != "$$($(YQ) r $(SNAPCRAFT_FILE) version)" ]; then \
|
||||
>&2 echo "Warning: $(SNAPCRAFT_FILE) version is different to upstream $(VERSION_FILE) file"; \
|
||||
fi
|
||||
snapcraft -d
|
||||
snapcraft -d --destructive-mode
|
||||
|
||||
.PHONY: test-static-build snap
|
||||
|
Loading…
Reference in New Issue
Block a user