File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,11 @@ jobs:
103
103
-
uses :
wangyoucao577/[email protected]
104
104
with :
105
105
github_token : ${{ secrets.GITHUB_TOKEN }}
106
+ release_tag : " v${{ needs.release.outputs.version }}"
106
107
goos : ${{ matrix.goos }}
107
108
goarch : ${{ matrix.goarch }}
108
109
goversion : ${{ matrix.goversion }}
109
110
project_path : " ./cmd/"
110
111
binary_name : " jsonpath"
112
+ overwrite : true
111
113
ldflags : -X "main.Command=jsonpath" -X "main.Version=${{ needs.release.outputs.version }}" -X "main.OS=${{ matrix.goos }}" -X "main.Arch=${{ matrix.goarch }}"
Original file line number Diff line number Diff line change 32
32
goversion : ${{ matrix.goversion }}
33
33
project_path : " ./cmd/"
34
34
binary_name : " jsonpath"
35
+ overwrite : true
35
36
ldflags : -X "main.Command=jsonpath" -X "main.Version=${{ env.RELEASE_TAG }}" -X "main.OS=${{ matrix.goos }}" -X "main.Arch=${{ matrix.goarch }}"
You can’t perform that action at this time.
0 commit comments