apache / incubator-devlake

Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth.
https://devlake.apache.org/
Apache License 2.0
2.61k stars 528 forks source link

cherry-pick fix(backend): update Makefile to include version prefix in go-dep command #8194 #8197

Closed rodrigoluizs closed 5 days ago

rodrigoluizs commented 6 days ago

⚠️ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

Summary

Fixes the issue in the go-dep make command where the version prefix was missing, ensuring consistent dependency installation.

How to Reproduce?

cd backend
make go-dep                                                                        
go install github.com/vektra/mockery/v2@2.43.0
go: github.com/vektra/mockery/v2@2.43.0: github.com/vektra/mockery/v2@2.43.0: invalid version: unknown revision 2.43.0
make: *** [go-dep] Error 1