Cutting a Release
- The version number should be incremented in the
package.json
and thecrates/ubrn_cli/Cargo.toml
. - Push as a PR as usual, with subject:
Release ${VERSION_NUMBER}
. - Once this has landed, draft a new release.
- Create a new tag (in the choose a new tag dialog) with the version number (without a
v
). - Use the version number again, but with a
v
prepended for the release title,v${VERSION_NUMBER}
. - Publish the release.
- Wait until the Cocoapods and NPM publishing jobs are finished.
- Tell your friends, make a song and dance, you’ve done a new release.
Version numbers
Uniffi has a semver
versioning scheme. At time of writing, the current version of uniffi-rs
is 0.28.3
uniffi-bindgen-react-native
uses this version number with prepended with a -
and a variant number, starting at 0
.
Thus, at first release, the version of uniffi-bindgen-react-native
was 0.28.3-0
.
Compatibility with other packages
Other versioning we should take care to note:
- React Native
create-react-native-library
A version matrix is built during CI: compatibility matrix.