Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Links in readme assumes that the version tag always has a v prefix #123

Open
shazron opened this issue Nov 12, 2019 · 2 comments
Open

Links in readme assumes that the version tag always has a v prefix #123

shazron opened this issue Nov 12, 2019 · 2 comments

Comments

@shazron
Copy link

shazron commented Nov 12, 2019

Line:

const template = plugin.pjson.oclif.repositoryPrefix || '<%- repo %>/blob/v<%- version %>/<%- commandPath %>'

The link assumes that the tag has the v prefix. If you set tag-version-prefix="" in your .npmrc, you will not have the v prefix when tagging via npm version.

This module should read the tag-version-prefix setting for npm instead of hard-coding the v.

@shazron
Copy link
Author

shazron commented Nov 12, 2019

@RasPhilCo
Copy link
Contributor

Good idea. Work around for now it to set package.json oclif.repositoryPrefix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants