-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unable to rebuild final tags #108
Comments
The commit with tag
|
@mikaelvik I don't think the claimed version checking is the issue here. The reason we check all of them is to avoid some re-releasing something that's been released elsewhere in the repo. It shouldn't prevent you from rebuilding a tagged version. |
There's definitely a bug here. I was able to reproduce this with your repo and by creating a new repo describing your steps. However, I got two very different commit graphs between the two: Your Repo
Manual Steps
Your test repo seems to have some repeated history if you look at the individual branches they don't all line up with the same commits. The main part that seems problematic in the manual one is that 0.2.0 is tagged off master and not as another commit building on top of 0.2.0-rc.1. Is this intentional? If so, can you explain your workflow more, so I can see if that jives with how I expect reckon to behave? At a minimum there's something that could be validated or enforced here, but the behavior definitely seems wrong. |
Actually, I tracked those manual steps wrong, let me try that again. |
Yeah, this looks way more correct:
So yeah, this is definitely a bug. It seems to be thinking 0.2.0 is the current version on the 0.1.0 and 0.1.1 tags, which it obviously isn't. May need to add some more logging to reckon to make it more apparent what's going wrong here. |
Great that you were able to reproduce the bug. I work with @norkje and we're eager to start using reckon. Not being able to rebuild previous versions would definetely be a no-go. |
Is this the desired behavior or is this a bug?
Example is located here -> https://github.com/norkje/reckon-rebuild-final-tag-bug
The text was updated successfully, but these errors were encountered: