Skip to content

Commit 092f671

Browse files
committed
add fingers noembed flag
1 parent 2732ca0 commit 092f671

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/gorelease.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
go-version: '1.17'
5050

5151
- name: Compile for Windows x64
52-
run: go build -o dist/zombie_windows7_amd64.exe -ldflags "-s -w" -tags="forceposix nobar" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
52+
run: go build -o dist/zombie_windows7_amd64.exe -ldflags "-s -w" -tags="forceposix nobar noembed" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
5353
env:
5454
GOOS: windows
5555
GOARCH: amd64
5656

5757
- name: Compile for Windows x86
58-
run: go build -o dist/zombie_windows7_386.exe -ldflags "-s -w" -tags="forceposix nobar" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
58+
run: go build -o dist/zombie_windows7_386.exe -ldflags "-s -w" -tags="forceposix nobar noembed" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
5959
env:
6060
GOOS: windows
6161
GOARCH: '386'

.goreleaser.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ builds:
3737
ldflags: "-s -w -X 'github.com/chainreactors/zombie/cmd.ver=={{ .Tag }}'"
3838
flags:
3939
- -trimpath
40-
- -tags=forceposix
40+
tags:
41+
- forceposix
42+
- noembed
4143
asmflags:
4244
- all=-trimpath={{.Env.GOPATH}}
4345
gcflags:

0 commit comments

Comments
 (0)