Skip to content

Git URL should use new format #1274

@UncleSamSwiss

Description

@UncleSamSwiss

When publishing an adapter, npm emits the following warning:

npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository.url" was normalized to "git+ssh://git@github.com/user/ioBroker.adapter.git"

Currently we use:

: `git@github.com:${answers.authorGithub}/ioBroker.${answers.adapterName}.git`;

This should be changed as follows:

- `git@github.com:${answers.authorGithub}/ioBroker.${answers.adapterName}.git`
+ `git+ssh://git@github.com/${answers.authorGithub}/ioBroker.${answers.adapterName}.git`

Found with ioBroker/testing-action-deploy@v1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions