pulumi/sdk/go/common/util/gitutil/testdata
Thomas Gummerer 869562e81e automatically get latest version for plugins from a git source
Plugins from a git source are being introduced in https://github.com/pulumi/pulumi/pull/17827.
That implementation requires the user to specify the version manually.
We can and want to do better however.  This commit makes it so that we
detect the version automatically from the repo.

We do this by first checking if there are any tags that parse as
semver, and if so return the latest tag.  If there are no tags that
are valid semver versions, we use the commit hash for the latest
commit on the default branch.
2025-01-10 14:13:04 +01:00
..
commit-only.git automatically get latest version for plugins from a git source 2025-01-10 14:13:04 +01:00
tags.git automatically get latest version for plugins from a git source 2025-01-10 14:13:04 +01:00