Skip to content

Commit

Permalink
Add documentation for the source of the ldflag-linked version of the …
Browse files Browse the repository at this point in the history
…dynamic package.
  • Loading branch information
guineveresaenger committed Jan 3, 2025
1 parent 8062afe commit afc931c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dynamic/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
package version

// version is initialized by the Go linker to contain the semver of this build.

// This is the same mechanism that Pulumi uses to embed versions in all of our binaries.
// When updating the module version of this library, ensure to update the correct module path in
// the Goreleaser for https://github.com/pulumi/pulumi-terraform-provider.
// See also https://github.com/pulumi/pulumi-terraform-provider/pull/56.
var version string

// The Version of the provider.
Expand Down

0 comments on commit afc931c

Please sign in to comment.