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

Generalise version in the makefile #3770

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Conversation

danielrbradley
Copy link
Member

  • Remove hard-coded version numbers for the versions files. Calculate MAJOR_VERSION, NEXT_MAJOR_VERSION and PREVIOUS_MAJOR_VERSION
  • Use same format for removed-resources for the previous, current and next version (JSON).
  • Add missing dependencies for when building the schema.

- Remove hard-coded version numbers for the versions files. Calculate MAJOR_VERSION, NEXT_MAJOR_VERSION and PREVIOUS_MAJOR_VERSION
- Use same format for removed-resources for the previous, current and next version (JSON).
- Add missing dependencies for when building the schema.
@danielrbradley danielrbradley requested review from thomas11 and a team December 10, 2024 15:51
@danielrbradley danielrbradley self-assigned this Dec 10, 2024
We need pulumictl installed before calling that variable, so we can't use the variable for calculating dependencies.

In practice, the PROVIDER_VERSION never starts with a "v" now, so we don't really need to normalise it.
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 56.65%. Comparing base (021d995) to head (96c2f9b).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
provider/pkg/versioning/gen.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3770      +/-   ##
==========================================
- Coverage   56.66%   56.65%   -0.01%     
==========================================
  Files          77       77              
  Lines       11954    11954              
==========================================
- Hits         6774     6773       -1     
- Misses       4682     4683       +1     
  Partials      498      498              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v2.77.0.

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.

3 participants