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

ERROR: There are ZERO commit to release! is thrown when doing a very first release of a package #186

Open
2 tasks done
capaj opened this issue Sep 24, 2021 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@capaj
Copy link
Contributor

capaj commented Sep 24, 2021

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

x

Plugin version

x

Node.js version

16

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

Ubuntu 21.04

Description

throw new Error('There are ZERO commit to release!')

Steps to Reproduce

try to make a very first release of some package by calling

releasify publish

for example you can check out this one:
https://github.com/nearform/mercurius-apollo-tracing/tree/bab75dee4988e47b0ee776ca21dab1a6f07edc0b

Expected Behavior

No error is thrown, package get's published

@climba03003
Copy link
Member

climba03003 commented Sep 24, 2021

Please provide more detail on it.
e.g. do you have any commit for the project, is git setup correctly, etc.

A minimal reproducible example project for this error is appreciable.

@capaj
Copy link
Contributor Author

capaj commented Sep 24, 2021

It occured on running in this repo on this commit: https://github.com/nearform/mercurius-apollo-tracing/tree/bab75dee4988e47b0ee776ca21dab1a6f07edc0b

so if anyone checks out that commit they can reproduce it easily.

@Eomm
Copy link
Member

Eomm commented Sep 26, 2021

I think the issue is caused by the absence of the tag.

If there are no tags, we should release from the first commit to head.

As workaround you can use the --to and --from parameters

@Eomm Eomm added bug Something isn't working good first issue Good for newcomers labels Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants