-
Notifications
You must be signed in to change notification settings - Fork 652
[Bug] dotnet-gitversion fails with "Couldn't find any remote tips from remote" #3657
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
Comments
I would appreciate some feedback on this issue. Thanks. |
Hi @josefpihrt. Does this problem existing in 6.0.0-beta.3 version as well? Can you create an integration test (on main branch)? [Test]
public void __Just_A_Test__()
{
var configuration = GitFlowConfigurationBuilder.New.Build();
using EmptyRepositoryFixture fixture = new("main");
fixture.MakeACommit();
// ✔️ succeeded as expected
fixture.AssertFullSemver("0.0.1-1", configuration);
or
// ❌ expected 0.1.0-1
fixture.AssertFullSemver("0.0.1-1", configuration);
} Anyway the logs for this run have expired and are no longer available. Please provide steps to reproduce. Thank you very much. |
@HHobeck Thanks for your reply. The issue disappears after update to Nevertheless, when updating to When I use But when I use After update to
My config file: build-metadata-padding: 4
mode: ContinuousDeployment
branches:
main:
tag: beta
pull-request:
tag: alpha
tag-number-pattern: '[/-](?<number>\d+)[-/]' ConclusionI'm fine with staying on |
May I ask you to try this? mode: ContinuousDeployment
branches:
main:
label: beta
pull-request:
label: alpha
label-number-pattern: '[/-](?<number>\d+)[-/]' |
Updating config file fixes the error but the issue with |
Okay can you reproduce it locally or create an integration test? It's not clear for me how to anaylse it. Logs would be also nice |
Maybe it is related to this: |
Yes, it seems to be duplicate of #3351. Thanks for help. |
Describe the bug
Command dotnet-gitversion is run as a part of my GH workflow. When I create a PR which has a single commit then dotnet-gitversion command fails:
https://github.com/JosefPihrt/DotMarkdown/actions/runs/5891598645/job/15978994483?pr=39
When PR contains more than one commit the command dotnet-gitversion is executed successfully
https://github.com/JosefPihrt/DotMarkdown/actions/runs/5891741555/job/15979466559?pr=39
Context
I cannot merge PR with single commit
Your Environment
GH workflow
The text was updated successfully, but these errors were encountered: