Skip to content

Commit

Permalink
Set tag name as version
Browse files Browse the repository at this point in the history
  • Loading branch information
shrsv committed Aug 6, 2023
1 parent 5bb02cb commit 1efcf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
goversion: "https://dl.google.com/go/go1.19.3.linux-amd64.tar.gz"
binary_name: "l2"
extra_files: LICENSE README.md
ldflags: -X main.version=${{ github.event.release.tag_name }}
ldflags: -X main.version=${{ github.ref_name }}

0 comments on commit 1efcf44

Please sign in to comment.