Skip to content

Commit

Permalink
snap: Build using destructive mode
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jodh-intel committed May 26, 2022
1 parent 60823ab commit cb2b309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/packaging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cb2b309

Please sign in to comment.