Skip to content

Commit c46b266

Browse files
Merge pull request #10 from evilmonkeyinc/chore/possible-fix-pipeline
fix: add release tag to push build workflows
2 parents 15a7072 + 05b641c commit c46b266

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/push_main.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,11 @@ jobs:
103103
- uses: wangyoucao577/[email protected]
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 }}"

.github/workflows/release-build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ jobs:
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 }}"

0 commit comments

Comments
 (0)