Robert Burke created BEAM-13119:
-----------------------------------
Summary: Add subdirectory prefixed tags to release process to
support Go SDK versioning.
Key: BEAM-13119
URL: https://issues.apache.org/jira/browse/BEAM-13119
Project: Beam
Issue Type: Bug
Components: sdk-go
Reporter: Robert Burke
Assignee: Robert Burke
BEAM-5379 updated the SDK to use modules for Dependency management for 2.33.0
but it isn't behaving as expected. The release versions are being ignored.
Turns out we misunderstood one facet of having the go.mod file not at the root
directory: to version that package, version tags must be prefixed with the
directory path to the go.mod file.
See https://golang.org/ref/mod#vcs-version for the description.
We've validated that adding such a prefixed tag to a release branch resolves
the issue.
https://pkg.go.dev/github.com/apache/beam/sdks/[email protected]/go/pkg/beam?tab=versions
This JIRA is to track adding the version tags to the release processes so we
can continue paired releases for all SDKs.
Further discussion:
https://lists.apache.org/thread.html/r987ea3540a0457ede258a96a0748b9af39c1de0acd83e822de8d0abb%40%3Cdev.beam.apache.org%3E
--
This message was sent by Atlassian Jira
(v8.3.4#803005)