pulumi/sdk/go/common
Thomas Gummerer 23f6a0b3b6
automatically get latest version for plugins from a git source (#18215)
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.

Fixes https://github.com/pulumi/pulumi/issues/18199
Depends on https://github.com/pulumi/pulumi/pull/17827
2025-01-22 08:33:20 +00:00
..
apitype Move EscEnvironmentMetadata to apitype (#17720) 2024-11-08 14:32:13 +00:00
constant Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
diag allow InputPropertyErrors from Calls (#17567) 2024-11-07 09:56:04 +00:00
encoding all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
env Enable Copilot link by default (#17293) 2024-09-20 01:15:16 +00:00
promise Add tests to sdk/go/common/promise for coverage (#17197) 2024-09-08 21:07:08 +00:00
resource implement getting plugins from remote git sources (#17827) 2025-01-16 16:10:46 +00:00
slice Nit: Use slice.Prealloc in slice.Map and slice.MapError (#17631) 2024-10-29 15:35:55 +00:00
tail fix race condition in tail better (#18066) 2024-12-18 12:10:53 +00:00
testing Move `sdk/go/common/tools/path` to `pkg` (#17898) 2024-12-02 17:13:30 +00:00
tokens Enable some more linting rules (#17456) 2024-10-03 17:37:13 +00:00
util automatically get latest version for plugins from a git source (#18215) 2025-01-22 08:33:20 +00:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace automatically get latest version for plugins from a git source (#18215) 2025-01-22 08:33:20 +00:00