Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No semver tags found #210

Open
shine1594 opened this issue Jul 27, 2021 · 1 comment
Open

No semver tags found #210

shine1594 opened this issue Jul 27, 2021 · 1 comment

Comments

@shine1594
Copy link

shine1594 commented Jul 27, 2021

I'm using tagPrefix and I'm getting the following error: "Error: No semver tags found"

conventionalGithubReleaser(
  {
    type: "oauth",
    url: 'https://api.github.com',
    token: process.env.GITHUB_TOKEN,
  },
  {
    preset: "angular",
    tagPrefix: `${app}@`,
  },
  null,
  { from, to },
  (err, responses) => {
    if(err) console.log(err);
    else console.log(responses);
  }
);

It seems that the tagPrefix option is not applied to 'git-semver-tags'.

I'm not sure exactly what side effects it will have, but shouldn't it be modified like this?

Q.nfcall(
  gitSemverTags,
  { tagPrefix: changelogOpts.tagPrefix || '' },
  function (err, tags) {
    if (err) userCb(err)
    else resolve(tags)
  }
)
@beatriz1304
Copy link

I'm having the same issue here. It will be awesome to support tagPrefix

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

No branches or pull requests

2 participants