Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[automation/nodejs] - Implement min version checking #6580

Merged
merged 5 commits into from
Mar 23, 2021

Conversation

komalali
Copy link
Member

Changes

  • Added a LocalWorkspace.pulumiVersion property that returns the underlying Pulumi CLI version.
  • LocalWorkspace constructor checks that the pulumiVersion >= the minimum version set in minimumVersion.ts and returns an error to update the CLI if the check fails.

Nodejs part of #6348 and #6419

Also see: #6577 for Go

@komalali komalali force-pushed the komalali/nodejs-min-version branch from f5d8937 to 0faad46 Compare March 20, 2021 02:24
@komalali komalali marked this pull request as ready for review March 20, 2021 02:26
@komalali komalali force-pushed the komalali/nodejs-min-version branch from 0faad46 to 57a895e Compare March 20, 2021 04:11
Copy link
Contributor

@EvanBoyle EvanBoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment, but looks great overall!

sdk/nodejs/x/automation/localWorkspace.ts Outdated Show resolved Hide resolved
@komalali komalali force-pushed the komalali/nodejs-min-version branch from f05c0b7 to 1d4a39d Compare March 23, 2021 03:59
@komalali komalali force-pushed the komalali/nodejs-min-version branch from 1d4a39d to eac890b Compare March 23, 2021 04:36
@komalali komalali merged commit 768db3e into master Mar 23, 2021
@komalali komalali deleted the komalali/nodejs-min-version branch March 23, 2021 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants