When the CI for this project cuts a release, it uses the same build.yml workflow as non-release builds, thus triggering a matrix of the three target OSes. But then all three OSes try to deploy the built release to OSS Sonatype, which results in build failure due to immutable artifacts. And anyway there is no reason to attempt to deploy more than once—it should just be the Linux build that gets deployed/released. The other two platforms should maybe not build release builds at all, or at most should only sanity check the builds without deploying.
Further thinking is needed first about the best place to cause this behavior to change. Mayhap this should be fixed in the ci-build.sh script?