mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-30 08:06:40 +02:00
f96b48dad9
2. try fixing grpc plugin failed to get issue use v4.0.0-v4.0.0-00010101000000-000000000000 instead of specific version 3. kafka panic on disconnect panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x18 pc=0x1266c50] goroutine 31 [running]: github.com/asim/go-micro/plugins/broker/kafka/v3.(*kBroker).Disconnect(0xc0002400c0) C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/broker/kafka/v3@v3.7.0/kafka.go:130 +0xd0 github.com/asim/go-micro/plugins/server/grpc/v3.(*grpcServer).Start.func2() C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/server/grpc/v3@v3.0.0-20210712061837-0532fd9de8ae/grpc.go:998 +0xc8d created by github.com/asim/go-micro/plugins/server/grpc/v3.(*grpcServer).Start C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/server/grpc/v3@v3.0.0-20210712061837-0532fd9de8ae/grpc.go:917 +0xcaf exit status 2
22 lines
416 B
Batchfile
22 lines
416 B
Batchfile
@echo off
|
|
|
|
set tag=%1
|
|
set commitsh=%2
|
|
|
|
if "%tag%"=="" (
|
|
echo "must specify tag to release"
|
|
exit
|
|
)
|
|
|
|
setlocal enabledelayedexpansion
|
|
for /r %%i in (go.mod) do (
|
|
set m=%%~dpi
|
|
set m=!m:%~dp0=!
|
|
set m=!m:\=/!
|
|
if "%commitsh%"=="" (
|
|
hub release create -m "plugins/!m!%tag% release" plugins/!m!%tag%
|
|
) else (
|
|
hub release create -m "plugins/!m!%tag% release" -t %commitsh% plugins/!m!%tag%
|
|
)
|
|
)
|
|
endlocal |