Skip to content

Unclear error message when try publish package with not matching name and slug #2021

@justgook

Description

@justgook

You got message about fact you have not remote tag for your that suggest you to push tags to remote, even when there is already that tag.

{
... 
"name": "username/my-package"
}

but it lives in username/my-package-something-else

as result i got Error:

-- NO TAG ON GITHUB ------------------------------------------------------------

You have version 1.0.0 tagged locally, but not on GitHub.

Run the following command to make this tag available on GitHub:

    git push origin 1.0.0

This will make it possible to find your code online based on the version number.

That is totally wrong - as repo already have that tag. Maybe we could add validation about fact, that slug (username/repo) matches name in elm.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions