Run ./kotlin publish mavenCentral ERROR: Cannot p...
# kotlin-toolchain
j
Run ./kotlin publish mavenCentral ERROR: Cannot publish to repository 'mavenCentral' because it's not marked as publishable. Please check your configuration and make sure that
publish: true
is set for this repository.
fixed 1
Without publish: true
With publish: true
j
Yeah this is a critical regression in 0.12.0 that I fixed a few days back. We'll release a 0.12.1 patch with it, maybe in the coming week (or at the very least it will be in the 0.13.0 release at the end of September). Sorry about this! KTC-5799 Cannot publish to repository 'mavenCentral' because it's not marked as publishable
👍 1
j
j
Interesting! Indeed you can use the API bridge for the Maven-like publication mode. If you want to get the "clean" approach sooner, you can also bump to the dev version by doing
kotlin update --dev
, it already has the fix and is not far from 0.12.0
j
Sweet, will do that soon!