Skip to content

Publishing multi-module projects via hangar-publish fails #1463

@NonSwag

Description

@NonSwag

Observed/problematic behavior

When publishing a multi-module project via hangar-publish, the server returns an error code 400 saying Error uploading version, returned 400: version.new.error.duplicateNameAndPlatform even though there are clearly no duplicate platforms defined

Expected behavior

Server should accept publication

Steps to reproduce

  1. Create a multi-module project with at least 2 publications
  2. execute task publishAllPublicationsToHangar

Other

Workflow run (logs): https://github.com/TheNextLvl-net/commander/actions/runs/14204868601/job/39800140788
root build.gradle.kts: https://github.com/TheNextLvl-net/commander/blob/dce936c61e26c5c038b26afd62025393db58f21b/build.gradle.kts#L7
paper publication: https://github.com/TheNextLvl-net/commander/blob/dce936c61e26c5c038b26afd62025393db58f21b/paper/build.gradle.kts#L70
velocity publication: https://github.com/TheNextLvl-net/commander/blob/dce936c61e26c5c038b26afd62025393db58f21b/velocity/build.gradle.kts#L57

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions