diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-26 12:03:25 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-26 12:03:25 +0900 |
| commit | 6d4ac3d9fdf1cc44249bf90c89e6da56028fde4f (patch) | |
| tree | f261c7ecc9bcb3bbef5d5eb7922ff86b761c3a3a /dist/release.sh | |
| parent | a5d2f040fb01588cc980c4577a4ba8fac01526f0 (diff) | |
internal: store fortify path in internal
This now makes more sense due to the changes in build system.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dist/release.sh')
| -rwxr-xr-x | dist/release.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/release.sh b/dist/release.sh index 05be8404..88171860 100755 --- a/dist/release.sh +++ b/dist/release.sh @@ -12,6 +12,7 @@ go generate ./... go build -trimpath -v -o "${out}/bin/" -ldflags "-s -w -buildid= -extldflags '-static' -X git.gensokyo.uk/security/fortify/internal.Version=${VERSION} -X git.gensokyo.uk/security/fortify/internal.Fsu=/usr/bin/fsu + -X git.gensokyo.uk/security/fortify/internal.Fortify=/usr/bin/fortify -X main.Fmain=/usr/bin/fortify" ./... rm -f "./${out}.tar.gz" && tar -C dist -czf "${out}.tar.gz" "${pname}" |
