-
Notifications
You must be signed in to change notification settings - Fork 280
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
catkin_prepare_release fails #463
Comments
Can you please post the output and return code of these two commands:
Btw. catkin_prepare_release (the current version) will not push to your GBP repo. So you are free to reset the changes and try again without requiring to bump the version number multiple times. |
I suspect there's something wrong with the way this git repo is set up; it has had some adventures. I was able to rewrite my commit history and remove the extra versions and tags. |
I don't know what would causes the git config line to fail. Please provide the output of:
|
I fixed the git config line by setting my local branch to track an upstream branch, with:
Suggest you make this check before making changes to the repository and explicitly warn the user about it. |
What check should catkin_prepare_release perform? I could only imagine a better error message if the command files - something like "check if the current branch is tracking an upstream branch". |
I will try to move the check to be performed earlier in the script. And add a custom error message... |
That would be great; thanks! |
Well, which version of catkin are you using? The current one (0.5.69) does either not push at all (so doesn't need to check) if invoked without any args; or if invoked with |
I'm using version 0.5.69 from debs, and invoking it without any arguments.
|
I see, it fails for you while generating the command lines which would need to be executed manually afterwards. I will create a patch which adds a comment like
to the raised exception. |
I've faced this issue multiple times still occurs to me when I create a new branch, push it to the origin, then run Assuming this is git's default behavior and out of catkin_prepare_release's scope to provide further care, where's a good place to add comments/document for that?
|
Please post much more information about the problem you are having (e.g. which repos, what is the state of the working copy, what commands do you run, what is the complete output of it, eventually further information about the git state). |
Ok next time the same issue occurs I'll post more info before I apply workaround. |
As of November 2017 the
|
Might not be the cace on Trusty yet? I get an error so still used
|
@djiglesias @130s If you are having an issue please create a new ticket for it with sufficient information to reproduce and consider proposing a fix. Commenting on an issue which has been closed for several years will likely not get any attention. |
catkin_prepare_release fails on my repository:
For reference:
There is no confirmation step and no obvious message indicating what when wrong or what I can do to fix it, so I've now burned three minor release numbers fighting this. :(
The text was updated successfully, but these errors were encountered: