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:
103103 - uses : wangyoucao577/go-release-action@v1.22
104104 with :
105105 github_token : ${{ secrets.GITHUB_TOKEN }}
106+ release_tag : " v${{ needs.release.outputs.version }}"
106107 goos : ${{ matrix.goos }}
107108 goarch : ${{ matrix.goarch }}
108109 goversion : ${{ matrix.goversion }}
109110 project_path : " ./cmd/"
110111 binary_name : " jsonpath"
112+ overwrite : true
111113 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 3232 goversion : ${{ matrix.goversion }}
3333 project_path : " ./cmd/"
3434 binary_name : " jsonpath"
35+ overwrite : true
3536 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