I'm using runtime/debug.ReadBuildInfo() to get the tagged name as the release binary version.
However, the release by this action always generate the tagged name as "(devel)", which likely related to this issue.
Is there any way to fix it?
btw. Using go install github.com/{my project path}@latest works perfectly, while simply go build in the project path doesn't work.
I'm using runtime/debug.ReadBuildInfo() to get the tagged name as the release binary version. However, the release by this action always generate the tagged name as "(devel)", which likely related to this issue.
Is there any way to fix it?
btw. Using
go install github.com/{my project path}@latest
works perfectly, while simplygo build
in the project path doesn't work.