Closed tomasherman closed 2 years ago
Is this a transient issue, or it's happening reliably for you now?
thanks for an extremely quick reply :) it seems to be happening reliably - 2 out of 2 :) But let me try again: https://github.com/avast/datadog4s/actions
Also note that sbt-ci-release grabs publishing feature from sbt-sonatype 3.9.1. So if there actually is an issue, you might want to report it to https://github.com/xerial/sbt-sonatype as well.
Thank you for reporting! I recall hitting on a similar error that got fixed by adding publish / skip := true
at the top of build.sbt. I couldn't find this in https://github.com/avast/datadog4s/blob/master/build.sbt and there is no code under the toplevel src/
directory.
The +20211209-1518
suffix in the name indicates that you have dirty git state when running publish in CI. This typically happens from website/documentation generation and you don't reproduce the issue locally because your $HOME/.gitignore
file ignores the patterns that are marked as dirty in CI. You can fix this by adding more patterns to the .gitignore
file of your codebase.
Thanks a lot! I will give it a try. I also reported this sbt-sonatype so we will see if those guys have any ideas aswell
ha, i think i found the offender: https://github.com/avast/datadog4s/pull/428/files ... 🤦♂️
Hey @eed3si9n, I started seeing the same issue in my most recent release attempts for fs2-rabbit (diff between releases here https://github.com/profunktor/fs2-rabbit/compare/v4.1.0...v4.1.1), and am not sure what to try to fix it. Any advice?
Hello, for some reason my builds started failing with following error:
As you can see, some snapshots are published, but then for some reason a new staging repository gets created and it's name doesn't really match the name of the artifacts:
datadog4s-jvm_3-0.31.1+0-0b2566ae+20211209-1518
in namedatadog4s 0.31.1+0-0b2566ae+20211209-1519
Increase of 1518 -> 1519
I don't really understand sonatype but the publishing worked fine for more than a year, now i wanted to do a maintenance release with dependency updates (including sbt-ci-release bumps) and it's not working anymore. Do you have any idea what might be going on?
Thank you!