Hi All, <https://github.com/touchlab/KMMBridgeKick...
# touchlab-tools
a
Hi All, https://github.com/touchlab/KMMBridgeKickStart is a great template to start. Thanks! I have a question. Is it expected that each time I run
All-Publish
action, version increments for SPM package(for example to
0.1.1
). But for Android package it keeps initial version
0.1
?
k
It is confusing and we should probably have better docs around that. The “All-publish” was kind of a last minute addition. If you want to publish everything, you should use the manual version manager and increment your Gradle version directly. If you want to automatically increment the versions for both Android and iOS deployments, we’ll have to add that to the future feature list.
r
Yeah the gradle plugin itself only really knows about the iOS side, so Android doesn't pick up any of the version incrementing we do. But we should think about better ways to keep both in sync, if that's something you'd find useful
a
Yes, iOS package version incrementing with kmmbridge is quite nice. May be I have to publish iOS package first and take the latest tag and call android publish as next step?
This gives me same version for Android
Copy code
val projVersionOverride by extra { libs.versions.projVersion.get() }
subprojects {
    version = co.touchlab.faktory.versionmanager.GitTagVersionManager.getVersion(project = project, versionPrefix = projVersionOverride)
}
solves the issue for now.