Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: ensure schema-embed.json is accurate when examples are generat…
…ed (#227) The example generator script includes some code to replace the current Equinix Pulumi plugin version in generated examples with `< 1.0.0` (or the equivalent per language). The script uses `.pulumi/bin/pulumictl get version --language generic` to determine the version number that should be replaced. However, the examples are not necessarily generated to reference that plugin version. The version referenced in examples appears to come from `provider/cmd/pulumi-resource-equinix/schema-embed.json`. This adds `build_schema` as a dependency of the `only_provider` Make task. The `only_provider` task is already a dependency of the `examples` task and the files produced by `build_schema` are necessary for `only_provider`. This change ensures that the schema files are up-to-date before examples are generated.
- Loading branch information