CrashKiOS publishes co.touchlab.crashkios artifacts (core, crashlytics, bugsnag and the crashlytics-ios-link
and bugsnag-ios-link Gradle plugins) to Maven Central. Releases are cut by pushing a release tag.
- Tags are the bare version, no
vprefix —0.10.0, notv0.10.0. - The tag and
VERSION_NAMEmust be identical. mainsits on a-SNAPSHOTbetween releases.
Standard semver against the published API surface:
- Patch — bug fixes, no public declarations added or changed.
- Minor — public declarations added.
- Major — public declarations removed or changed incompatibly.
Steps 1–6 are local. Nothing is published until you push the tag in step 7.
-
Confirm the working tree is clean and
mainis current. -
Set the release version in
gradle.properties:VERSION_NAME=X.Y.ZThen give the
X.Y.Zentry inCHANGELOG.mdtoday's date. -
Commit.
git commit -am "Prepare version X.Y.Z" -
Tag that commit.
git tag -a X.Y.Z -m "Version X.Y.Z" -
Set the next development version. Bump the patch and re-add the suffix in
gradle.properties:VERSION_NAME=<next patch>-SNAPSHOTSo releasing
0.10.0leavesmainonVERSION_NAME=0.10.1-SNAPSHOT. -
Commit.
git commit -am "Prepare next development version" -
Push the branch first, then the tag. Pushing the tag triggers the
releaseworkflow, which publishes to Maven Central and creates the GitHub release, so push it last:git push origin main git push origin X.Y.Z
Pushing directly to
mainrequires write access to the repo.