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

Fail if no previous tag #74

Open
m21-cerutti opened this issue May 13, 2021 · 4 comments
Open

Fail if no previous tag #74

m21-cerutti opened this issue May 13, 2021 · 4 comments

Comments

@m21-cerutti
Copy link

m21-cerutti commented May 13, 2021

When using it in a new project without already a first tag version, it apparently failed.

run for m21-cerutti / UnityCI_Project
load the history of activity-branch main from context ref refs/heads/main
active branch name is main
maching refs: d5ae4c7112a14242bababc49b3f3173345aef401
the previous tag of the repository undefined
the previous main tag of the repository undefined
The repo tags: undefined
default to prerelease version 0.0.1-main.0
commits in branch
Error: Cannot read property 'commit' of undefined```
@phish108
Copy link
Owner

Thank you for this issue. I will add a few extra checks to the code

@pavelsokolov21
Copy link

Hi @phish108
I have the same issue. Any updates?

@phish108
Copy link
Owner

The bug should have been fixed, but it appears that the build pipeline hangs at this point. An update is due.

@phish108
Copy link
Owner

OK, version 1.1.47 on the master branch should fix this issue. @pavelsokolov21 could you please confirm?

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