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

--git option doesn't parse branch= option correctly #3409

Open
vivere-dally opened this issue Feb 11, 2025 · 0 comments
Open

--git option doesn't parse branch= option correctly #3409

vivere-dally opened this issue Feb 11, 2025 · 0 comments

Comments

@vivere-dally
Copy link

Actual behavior
I want to clone a repository at a specific tag and build that. Giving the following options --git branch=v0.0.1,depth=1 results in the executor trying to clone a branch v0.0.1,depth=1. However, if I set the branch= parameter as the last option in the comma-separated list, it then works as expected.

Error message:

Error: error resolving source context: invalid branch: v0.0.2,depth=1

Expected behavior
The order of parameters shouldn't matter.

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

1 participant