-
Notifications
You must be signed in to change notification settings - Fork 26
feat: Update package command #1211
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but doesn't the plugin already knows its own version? What's the reason to pass it via the command?
disq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
We can embed the version in the code like we do in https://github.com/cloudquery/cloudquery/blob/c4de5dab89fcc2845e37b5772bc462c5e8edc7ce/plugins/source/typeform/plugin/plugin.py#L14 |
@erezrokah That might work for us, but I think we should keep it tool-agnostic as we want it to work for community plugins as well, regardless of whether they use Release Please. We may need a solution like that for Python again, but I think it will be a find-and-replace in that case. Does that make sense? |
💯 |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1211 +/- ##
==========================================
+ Coverage 48.43% 48.50% +0.07%
==========================================
Files 87 87
Lines 8104 8141 +37
==========================================
+ Hits 3925 3949 +24
- Misses 3825 3828 +3
- Partials 354 364 +10
☔ View full report in Codecov by Sentry. |
🤖 I have created a release *beep* *boop* --- ## [4.8.0](v4.7.1...v4.8.0) (2023-09-19) ### Features * Add Checksums to package.json format ([#1217](#1217)) ([720baae](720baae)) * Add message to package command ([#1216](#1216)) ([44956d9](44956d9)) * Add shuffle scheduler ([#1218](#1218)) ([2b1ba30](2b1ba30)) * Update package command ([#1211](#1211)) ([39fc65e](39fc65e)) ### Bug Fixes * Add schema version to package.json ([#1212](#1212)) ([393c94d](393c94d)) * **deps:** Update github.com/cloudquery/arrow/go/v14 digest to 483f6b2 ([#1209](#1209)) ([179769a](179769a)) * **deps:** Update github.com/cloudquery/arrow/go/v14 digest to ffb7089 ([#1215](#1215)) ([70f20bb](70f20bb)) * Use -dir suffix for plugin package arguments ([#1213](#1213)) ([93f9398](93f9398)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This updates the plugin
packagecommand (previously calledpublish) to build executables into adistdirectory that will be consumed by thecloudquery publishcommand for publishing to the registry.Usage example: