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

Fix tags not being resolved before use. #68

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

chrisgavin
Copy link
Collaborator

This fixes tags not being dereferenced before being used, which has started causing the tool to fail since github/codeql-action was updated to use tags to reference each release rather than branches.

Copy link
Contributor

@simon-engledew simon-engledew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran go run . pull locally and it correctly resolved the v1/v2 tags:

DEBU[0032] Found refs/heads/main.                       
DEBU[0032] Resolved to 6ed7f7079817cf4b3d0248d1cfb3aa83781ddd0a. 
DEBU[0032] Found refs/tags/v1.                          
DEBU[0032] Resolved to 6c3ae45f3a4a4cfd22f4876f5c2d393d491b51e8. 
DEBU[0032] Found refs/tags/v2.  

@chrisgavin chrisgavin merged commit 097405a into main Apr 28, 2022
@chrisgavin chrisgavin deleted the fix-tags-not-being-resolved branch April 28, 2022 08:49
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

Successfully merging this pull request may close these issues.

2 participants