Skip to content

Commit

Permalink
build: Add update-vendor.sh
Browse files Browse the repository at this point in the history
Use this script to update vendor, to avoid missing the custom patches

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
  • Loading branch information
yasker committed Oct 22, 2020
1 parent 2427418 commit 2e49314
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions update-longhorn-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
go get github.com/longhorn/go-iscsi-helper@master
go get github.com/longhorn/backupstore@master
go get github.com/longhorn/longhorn-engine@master
go mod tidy
go mod vendor
./update-vendor.sh
5 changes: 5 additions & 0 deletions update-vendor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

go mod tidy
go mod vendor
git am patch/*

0 comments on commit 2e49314

Please sign in to comment.