forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Eduardo Apolinario <[email protected]>
- Loading branch information
1 parent
79fc5a2
commit d25111b
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,10 +41,10 @@ for tool in "${tools[@]}"; do | |
echo "Renaming mockery to mockery-fork" | ||
mv $(go env GOPATH)/bin/mockery $(go env GOPATH)/bin/mockery-fork | ||
fi | ||
# If tool is named vektra/mockery/v2, we need to rename the binary to mockery-vektra | ||
# If tool is named vektra/mockery/v2, we need to rename the binary to mockery-v2 | ||
if [[ $tool == "github.com/vektra/mockery/[email protected]" ]]; then | ||
echo "Renaming mockery to mockery-vektra" | ||
mv $(go env GOPATH)/bin/mockery $(go env GOPATH)/bin/mockery-vektra | ||
echo "Renaming mockery to mockery-v2" | ||
mv $(go env GOPATH)/bin/mockery $(go env GOPATH)/bin/mockery-v2 | ||
fi | ||
done | ||
|
||
|