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

Add support for multiple publish repositories #8

Open
countableSet opened this issue Feb 4, 2025 · 0 comments
Open

Add support for multiple publish repositories #8

countableSet opened this issue Feb 4, 2025 · 0 comments

Comments

@countableSet
Copy link
Owner

When having multiple repositories setup, publishing fails with invalid version error

publishing {
    repositories {
        maven { url = uri("${mavenRepo.absolutePath}") 
        maven { url = uri("${secondMavenRepo.absolutePath}") }
    }
    publications {
        create<MavenPublication>("mavenJava") {
            artifactId = "my-library"
            from(components["java"])
        }
    }
}

Output:

Output:

> Task :semanticVersion FAILED
No published version of 'dev.poolside.test:my-library:0.1' resolved to '0.1.0'

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':semanticVersion'.
> Invalid version, must be in format ^\d+\.\d+$
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

No branches or pull requests

1 participant