xmtp / libxmtp

LibXMTP is a shared library encapsulating the core functionality of the XMTP messaging protocol, such as cryptography, networking, and language bindings.
MIT License
42 stars 18 forks source link

Integrate `Release Swift Bindings` into single publishing workflow that gets triggered on tag creation #462

Open cameronvoell opened 8 months ago

cameronvoell commented 8 months ago

Is your feature request related to a problem?

As part of https://github.com/xmtp/libxmtp/pull/433 we added a new GitHub action for publishing swift bindings as Release artifacts to be used by Swift Package Manager and Cocoapods in iOS SDK integrations.

Currently that new action must be triggered manually from GitHub Actions => Release Swift Bindings => Run workflow.

Describe the solution to the problem

Integrate the Swift bindings release into the regular release process that gets kicked off when merges to main branch occur.

Describe the uses cases for the feature

Removes a manual step of our release process.

Additional details

No response

cameronvoell commented 8 months ago

Note that most of the steps currently outline in the libxmtp-swift release process outlined in the README.md should be automated by fixing the release.yml steps here and adding new release process from the Release Swift Bindings action (build static libs and upload as release artifact):

https://github.com/xmtp/libxmtp/blob/f1a4de7e2ff25d16677d7cc7617759bf9b4d3c19/.github/workflows/release.yml#L28-L78