Skip to content

ci: Run python publishing via gha trigger#72

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit intomainfrom
abhi-release-via-gha-trigger
Mar 12, 2026
Merged

ci: Run python publishing via gha trigger#72
Abhijeet Prasad (AbhiPrasad) merged 1 commit intomainfrom
abhi-release-via-gha-trigger

Conversation

@AbhiPrasad
Copy link
Member

This PR removes the ability to publish via a script (py/scripts/push-release-tag.sh) in favour of entirely driving this via gha triggers. This was based on work I did in the JS repo here: braintrustdata/braintrust-sdk-javascript#1544

This means you can just release via the github UI. docs/publishing.md has all the details about how this works.

I also aligned the test pypi and real pypi release process, and made running dry runs a bit more robust.

Copy link
Member Author

Choose a reason for hiding this comment

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

I converted this to be a python file. I think we should stick with writing python scripts instead of bash for the sdk repo, easier to use everywhere (and technically makes this more windows compatible for contributors)

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) merged commit 5976a47 into main Mar 12, 2026
62 of 63 checks passed
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) deleted the abhi-release-via-gha-trigger branch March 12, 2026 16:46
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.

2 participants