Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overwrite = true when publishing #19

Merged
merged 1 commit into from
Sep 5, 2018
Merged

Allow overwrite = true when publishing #19

merged 1 commit into from
Sep 5, 2018

Conversation

olafurpg
Copy link
Member

@olafurpg olafurpg commented Sep 5, 2018

I've encountered several times that release fails because of the same
module being published twice. The recommended solution is to "fix the
release step" to avoid duplicate publishing. However, in my case it's
happening for a Java-only module with CrossVersion.disabled and
crossScalaVersions 2.12 and still it tries to publish for 2.11 and 2.12,
causing overwrite = false errors.

I've manually tested this change in Scalafix and it resolved the issue I
was facing with the Java-only module.

I've encountered several times that release fails because of the same
module being published twice. The recommended solution is to "fix the
release step" to avoid duplicate publishing. However, in my case it's
happening for a Java-only module with CrossVersion.disabled and
crossScalaVersions 2.12 and still it tries to publish for 2.11 and 2.12,
causing overwrite = false errors.

I've manually tested this change in Scalafix and it resolved the issue I
was facing with the Java-only module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant