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

Add tag to the emitted JSON blob #504

Merged
merged 2 commits into from
May 20, 2024

Conversation

njooma
Copy link
Member

@njooma njooma commented May 17, 2024

Adding the tag version will allow the SDKs to pin to that specific release on buf.build

@github-actions github-actions bot added the safe to test committer is a member of this org label May 17, 2024
@njooma njooma requested a review from abe-winter May 17, 2024 20:09
Copy link
Member

@abe-winter abe-winter left a comment

Choose a reason for hiding this comment

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

lgtm

haven't looked at the receive side of this but I'm assuming an extra json field won't break anything

there is a toJSON function in the actions language if you want to give it a shot, which would in theory allow you to do something like:

client-payload: toJSON({repo_name: github.repository, sha: github.sha, tag: needs.bump-tag.outputs.new_tag})

this is slightly safer in that it will do proper json escaping, but meh, your call

@njooma njooma merged commit 046c63d into viamrobotics:main May 20, 2024
5 checks passed
@njooma njooma deleted the emit-tag-with-event branch May 20, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test committer is a member of this org
Projects
None yet
2 participants