Skip to content

Commit

Permalink
Document versioning practices for dynamic package (#2809)
Browse files Browse the repository at this point in the history
Followup for
pulumi/pulumi-terraform-provider#54.

Clarifies where and how we're linking in the version to the dynamic
binary.
  • Loading branch information
guineveresaenger authored Jan 8, 2025
2 parents 2150faf + 9731b53 commit 960b71c
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 960b71c

Please sign in to comment.