Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(homebrew): handle new github archive url format
Old archive urls were in form: https://github.com/<owner/<repo>/archive/<tag>.tar.gz New ones are in form: https://github.com/<owner/<repo>/archive/refs/tags/<tag>.tar.gz So with the current parsing `currentValue` ends up being filled with the `refs` string instead of the tag value. This change handles both forms by checking the length of the url paths slice.
- Loading branch information