Add repo release

This commit is contained in:
世界 2024-03-12 22:01:18 +08:00
parent 4b1fabd007
commit b48c471e6a
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
10 changed files with 205 additions and 37 deletions

View file

@ -64,7 +64,7 @@ proto_install:
go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
release:
go run ./cmd/internal/build goreleaser release --clean --skip-publish || exit 1
go run ./cmd/internal/build goreleaser release --clean --skip publish --skip fury
mkdir dist/release
mv dist/*.tar.gz \
dist/*.zip \
@ -77,6 +77,9 @@ release:
ghr --replace --draft --prerelease -p 3 "v${VERSION}" dist/release
rm -r dist/release
release_repo:
go run ./cmd/internal/build goreleaser release -f .goreleaser.fury.yaml --clean
release_install:
go install -v github.com/goreleaser/goreleaser@latest
go install -v github.com/tcnksm/ghr@latest