diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-03-10 17:17:06 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 17:17:06 -0800 |
| commit | 6ecf5407201f803e2bf260325faf0deb8629c0e2 (patch) | |
| tree | c4e09279795cda4014b1a3adcfac20722835ba41 | |
| parent | 5d446673a6d4b7be49d0b2921b40894b760e7fe8 (diff) | |
| download | seaweedfs-6ecf5407201f803e2bf260325faf0deb8629c0e2.tar.xz seaweedfs-6ecf5407201f803e2bf260325faf0deb8629c0e2.zip | |
Update release.yml
| -rw-r--r-- | .github/workflows/release.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0681f3dac..2a5e66a6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ jobs: goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true + pre_command: export CGO_ENABLED=0 build_flags: -tags 5BytesOffset # optional, default is ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .` @@ -55,6 +56,7 @@ jobs: goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true + pre_command: export CGO_ENABLED=0 ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .` project_path: weed |
