Closed chicoxyzzy closed 2 months ago
When I create a tag locally and then run goreleaser, it still shows me dispatch version devel <sha>
we should find a way to test it locally to test such cases
When I create a tag locally and then run goreleaser, it still shows me dispatch version devel
I imagine the fact that the tag hasn't been pushed to GitHub is the issue. goreleaser would be creating a dummy Go module and then pulling Dispatch as a dependency of that module before building it. If you haven't pushed the tag, go get
won't see it when the github.com/dispatchrun/dispatch
dependency is downloaded and the module built.
Given this a minor change, I think it's probably fine to merge and then wait until we tag a release to verify that it's working correctly. If we get it wrong, we can always fix it and then tag a new release.
Fixes #64
@chriso is this enough? How can I test this locally? I've tried to run
goreleaser release --snapshot --clean
, the output is: