Skip to content

Commit

Permalink
add v to requirments version
Browse files Browse the repository at this point in the history
  • Loading branch information
steiner-anita committed Jul 31, 2020
1 parent c1ee29e commit c021f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/prepare-release/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ class Generator extends Base {
return repo.npm ? '^' + repo.version : developVersion.replace('#develop', '#semver:^' + repo.version);
}
_getPipRangeVersion(developVersion, repo) {
return repo.pip ? `>=${repo.version},<${Number(repo.version.substring(0, repo.version.indexOf('.'))) + 1}.0.0`: developVersion.replace('@develop', '@'+repo.version);
return repo.pip ? `>=${repo.version},<${Number(repo.version.substring(0, repo.version.indexOf('.'))) + 1}.0.0`: developVersion.replace('@develop', '@v'+repo.version);
}
_prepareNextDevPackage() {
const pkg = this.fs.readJSON(`${this.repositoryCwd}/package.json`);
Expand Down

0 comments on commit c021f07

Please sign in to comment.