Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script/release.sh: add -a to force rebuild
https://golang.org/cmd/go/#hdr-Build_and_test_caching says: > If you have made changes to the C libraries on your system, you will > need to clean the cache explicitly or else use the -a build flag > (see 'go help build') to force rebuilding of packages that depend > on the updated C libraries. This means that: 1. We need to either 'go clean -cache' or 'go build -a' when building the release binary. Adding '-a' seems less intrusive / more focused. 2. The check for existing libseccomp.a (added by commit d748280) is no longer needed. Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information