- Clone proto repository which is located at same directory level with this repository
git clone [email protected]:Tracking-SYS/proto-tracking-gen.git
- Generate go files in proto-tracking repository with command
./build.sh
- Tag version and publish
./release.sh
- Setup GOPRIVATE to bypass Go Mod proxy site
go env -w GOPRIVATE=github.com/Tracking-SYS
- Execute command to download latest version
go get -u github.com/Tracking-SYS/proto-tracking-gen