Skip to content

github gives us 422 when using Scala 3.0.0-M3 #33

@hedefalk

Description

@hedefalk

We're trying a Scala 3 upgrade and were having problems publishing to github packages when our Scala version is "3.0.0-M3", getting 422 responses.

2.13 works fine:

[info] published iam-policy_2.13 to https://maven.pkg.github.com/OurOrg/iam-policy/rat/iam-policy_2.13/1.0.1-RC1/iam-policy_2.13-1.0.1-RC1.pom

while pushing these with "3.0.0-M3" fails with 422:

[error] java.io.IOException: Server returned HTTP response code: 422 for URL: https://maven.pkg.github.com/OurOrg/iam-policy/rat/iam-policy_3.0.0-M3/2.0.0-RC2/iam-policy_3.0.0-M3-2.0.0-RC2.pom

The only thing I seem to see plausible is some kind of github-specific semver check breaking because of the '-' in the artifact name that's not there in 2.13.

Is there any known workaround or am I missing something obvious?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions