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

Releasing never-before-released project fails #413

Closed
Swatinem opened this issue Sep 2, 2022 · 2 comments
Closed

Releasing never-before-released project fails #413

Swatinem opened this issue Sep 2, 2022 · 2 comments

Comments

@Swatinem
Copy link
Member

Swatinem commented Sep 2, 2022

Steps to Reproduce

  1. Create a completely new project that has no tags and was never released previously
  2. try to prepare a release with craft

Expected Result

Craft should happily release this without any problems

Actual Result

This here fails:

const oldVersion = await getLatestTag(git);

The git command fails with:

fatal: No names found, cannot describe anything.

Even if not, oldVersion would be empty/non-existant.

Happened here: https://github.com/getsentry/watto/runs/8156452454?check_suite_focus=true

@BYK
Copy link
Member

BYK commented Sep 2, 2022

Looks like a duplicate of #342 to me?

@Swatinem
Copy link
Member Author

Swatinem commented Sep 2, 2022

Ah absolutely. Well, looks like I was too overeager.

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

No branches or pull requests

3 participants