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

Flag --branch-ref doesn't work in v3 #26

Closed
luigigubello opened this issue Feb 23, 2023 · 1 comment
Closed

Flag --branch-ref doesn't work in v3 #26

luigigubello opened this issue Feb 23, 2023 · 1 comment
Assignees

Comments

@luigigubello
Copy link

The binary file maven-dependency-tree-submission-linux v3 seems not working properly using the flag -b.
I have tested both attached binaries and compiled binaries (running npm run base-build and npm run build-exe).

Using the command:

maven-dependency-tree-submission-linux --token "$GITHUB_TOKEN" --repository "$GITHUB_REPOSITORY" --branch-ref "$GITHUB_REF" --sha "$GITHUB_SHA" --directory "$MY_PATH" --job-name "$MY_JOB"

It always returns this error: Branch reference must be in path form, e.g. 'refs/heads/main' for the 'main' branch.
Even if my branch is refs/heads/main

Binary file v2.0.1 works as expected using that command.

Screenshot
Screenshot 2023-02-23 at 11 49 16

@peter-murray
Copy link
Collaborator

Fixed in v3, v3.0 and v3.0.1 tags sha d682d5d68a398c90e9b35f8c564cd8e1918d6a24

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

2 participants