makefile: Fix release command

This commit is contained in:
世界 2023-10-21 12:00:00 +08:00
parent 5291d43dc8
commit ddf38799e2
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -63,7 +63,7 @@ release:
mkdir dist/release
mv dist/*.tar.gz dist/*.zip dist/*.deb dist/*.rpm dist/release
ghr --replace --draft --prerelease -p 3 "v${VERSION}" dist/release
rm -r dist
rm -r dist/release
release_install:
go install -v github.com/goreleaser/goreleaser@latest