open-telemetry / opentelemetry-go-build-tools

Build tools for use by the Go API/SDK, the collector, and their associated contrib repositories
https://opentelemetry.io
Apache License 2.0
32 stars 35 forks source link

[multimod] add support for --commit-hash to sync #422

Closed codeboten closed 11 months ago

codeboten commented 12 months ago

This allows end users to pass in an optional argument when running multimod sync if they want to fetch a version that matches a specific tag. This will be useful in the collector contrib for example to sync the core modules, without the user having to manually set the versions in versions.yaml.

codecov[bot] commented 12 months ago

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Files Coverage Δ
multimod/internal/sync/sync.go 34.21% <75.75%> (+12.61%) :arrow_up:

:loudspeaker: Thoughts on this report? Let us know!.

codeboten commented 11 months ago

@Aneurysm9 renamed the option to --commit-hash and updated the documentation to mention that a branch name can also be used