Skip to content

Commit

Permalink
update dependency and goreleaser tag
Browse files Browse the repository at this point in the history
  • Loading branch information
M09Ic committed Sep 24, 2024
1 parent ffd3f01 commit dd229ba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ jobs:
go-version: '1.11'

- name: Compile for Windows x64
run: go build -o dist/gogo_windowsxp_amd64.exe -ldflags "-s -w -X 'github.com/chainreactors/gogo/v2/internal/core.ver=${{ github.ref }}'" -tags="forceposix json" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
run: go build -o dist/gogo_windowsxp_amd64.exe -ldflags "-s -w -X 'github.com/chainreactors/gogo/v2/internal/core.ver=${{ github.ref }}'" -tags="forceposix" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
env:
GOOS: windows
GOARCH: amd64
working-directory: v2

- name: Compile for Windows x86
run: go build -o dist/gogo_windowsxp_386.exe -ldflags "-s -w -X 'github.com/chainreactors/gogo/v2/internal/core.ver=${{ github.ref }}'" -tags="forceposix json" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
run: go build -o dist/gogo_windowsxp_386.exe -ldflags "-s -w -X 'github.com/chainreactors/gogo/v2/internal/core.ver=${{ github.ref }}'" -tags="forceposix" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
env:
GOOS: windows
GOARCH: '386'
Expand Down
1 change: 0 additions & 1 deletion v2/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ builds:
- -trimpath
tags:
- forceposix
- json
- noembed
asmflags:
- all=-trimpath={{.Env.GOPATH}}
Expand Down
2 changes: 1 addition & 1 deletion v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/chainreactors/files v0.0.0-20240716182835-7884ee1e77f0
github.com/chainreactors/fingers v1.0.1-0.20240730173434-48ba7446b94b
github.com/chainreactors/logs v0.0.0-20240207121836-c946f072f81f
github.com/chainreactors/neutron v0.0.0-20240829091112-f7d7ee172362
github.com/chainreactors/neutron v0.0.0-20240924094734-5be76870bfa2
github.com/chainreactors/parsers v0.0.0-20240829055950-923f89a92b84
github.com/chainreactors/utils v0.0.0-20240805193040-ff3b97aa3c3f
github.com/jessevdk/go-flags v1.5.0
Expand Down
2 changes: 2 additions & 0 deletions v2/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ github.com/chainreactors/logs v0.0.0-20240207121836-c946f072f81f h1:tcfp+CEdgiMv
github.com/chainreactors/logs v0.0.0-20240207121836-c946f072f81f/go.mod h1:6Mv6W70JrtL6VClulZhmMRZnoYpcTahcDTKLMNEjK0o=
github.com/chainreactors/neutron v0.0.0-20240829091112-f7d7ee172362 h1:tNLtCf7wFcvm2ILmIJjTTi63/R8If2NZseccRaP1jZQ=
github.com/chainreactors/neutron v0.0.0-20240829091112-f7d7ee172362/go.mod h1:A6oRL1+WyEBCWwUeVcx0W5xONNS6lc6HJ0Y2R/tuXSc=
github.com/chainreactors/neutron v0.0.0-20240924094734-5be76870bfa2 h1:Izc44a2QzKFpa2jFOfLiyT/d1uUW2Dj1eBC+JGDOCzU=
github.com/chainreactors/neutron v0.0.0-20240924094734-5be76870bfa2/go.mod h1:A6oRL1+WyEBCWwUeVcx0W5xONNS6lc6HJ0Y2R/tuXSc=
github.com/chainreactors/parsers v0.0.0-20240829055950-923f89a92b84 h1:F6umsdHLxKILxrH5wY2zVYwxMmb8XdCEc9apf7GWpOk=
github.com/chainreactors/parsers v0.0.0-20240829055950-923f89a92b84/go.mod h1:7rXdYz6jrdjF0WUH1ICcAXKIKKjKmJo2PU8u43V7jkA=
github.com/chainreactors/utils v0.0.0-20240528085651-ba1b255482c1/go.mod h1:JA4eiQZm+7AsfjXBcIzIdVKBEhDCb16eNtWFCGTxlvs=
Expand Down
2 changes: 1 addition & 1 deletion v2/templates

0 comments on commit dd229ba

Please sign in to comment.