update build

This commit is contained in:
AJ ONeal 2020-11-13 03:02:58 -07:00
parent ade7f0ba80
commit 6acda301b0
3 changed files with 13 additions and 26 deletions

31
.gitignore vendored
View File

@ -6,36 +6,21 @@ acme.d
xversion.go
*_vfsdata.go
mgmt-server-linux
mgmt-server-macos
mgmt-server-windows-debug.exe
mgmt-server-windows.exe
telebit-client-linux
telebit-client-macos
telebit-client-windows-debug.exe
telebit-client-windows.exe
/cmd/dnsclient/dnsclient
/cmd/iplist/iplist
/cmd/machineid/machineid
/cmd/dnsclient/dnsclient
/cmd/sqlstore/sqlstore
/cmd/wsserve/wsserve
/cmd/wsconnect/wsconnect
/cmd/mgmt/mgmt
/cmd/signjwt/signjwt
/cmd/sqlstore/sqlstore
/cmd/telebit/telebit
/cmd/wsserve/wsserve
/cmd/wsconnect/wsconnect
/telebit-mgmt
/mgmt
/signjwt
/cmd/telebit/telebit
/telebit
/cmd/telebit/telebit
/telebit-relay
/telebit-relay-linux
/telebit-relay-macos
/cmd/telebit-relay/telebit-relay
/cmd/telebit-relay/telebit-relay-linux
/cmd/telebit-relay/telebit-relay-macos
/dist/
*.zip
.*.sw*
log.txt

View File

@ -18,9 +18,9 @@ builds:
goarch:
- amd64
- arm64
- arm
- id: telebit-mgmt
main: ./cmd/mgmt/mgmt.go
binary: telebit-mgmt
env:
- CGO_ENABLED=0
goos:
@ -30,12 +30,14 @@ builds:
goarch:
- amd64
- arm64
- arm
archives:
- replacements:
386: i386
amd64: x86_64
arm64: aarch64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:

View File

@ -37,7 +37,7 @@ See [`examples/client.env`][client-env] for detail explanations.
# Build
```bash
goreleaser --rm-dist --skip-publish
goreleaser --rm-dist --skip-publish --snapshot
```
## Install Go