Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented May 14, 2025

Motivation:

The version for the package included in protoc-gen-grpc-swift is updated manually and is currently incorrect. We can get the appropriate information from the context provided by SwiftPM.

Modifications:

  • Add a C shim module which provides a version string from the package context

Result:

Motivation:

The version for the package included in protoc-gen-grpc-swift is updated
manually and is currently incorrect. We can get the appropriate
information from the context provided by SwiftPM.

Modifications:

- Add a C shim module which provides a version string from the package
  context

Result:

- Version string is kept up-to-date
- Resolves grpc#60
@glbrntt glbrntt requested a review from gjcairo May 14, 2025 10:53
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label May 14, 2025
@glbrntt glbrntt enabled auto-merge (squash) May 14, 2025 10:53
Copy link
Collaborator

@gjcairo gjcairo left a comment

Choose a reason for hiding this comment

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

Nice!

@glbrntt glbrntt disabled auto-merge May 14, 2025 13:09
@glbrntt glbrntt force-pushed the add-versioning-info branch from 168e88f to 379f3b6 Compare May 14, 2025 16:18
@glbrntt glbrntt force-pushed the add-versioning-info branch from 78a150b to 4d1a436 Compare May 14, 2025 16:32
@glbrntt glbrntt requested a review from gjcairo May 14, 2025 16:42
@glbrntt glbrntt merged commit fda21d4 into grpc:main May 14, 2025
30 of 31 checks passed
@glbrntt glbrntt deleted the add-versioning-info branch May 14, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

protoc-gen-grpc-swift --version is incorrect
2 participants