Update documentation and build configuration

This commit is contained in:
2022-01-13 23:15:00 +01:00
parent 3931b61dd1
commit c267b47e59
7 changed files with 37 additions and 14 deletions

View File

@@ -1,17 +1,34 @@
builds:
- goos:
- id: speedrun
main: ./cmd/speedrun
binary: speedrun
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w -X speedrun/cmd.version={{.Version}} -X speedrun/cmd.commit={{.ShortCommit}} -X speedrun/cmd.date={{.Date}}
- -s -w -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version={{.Version}} -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit={{.ShortCommit}} -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date={{.Date}}
- id: portal
main: ./cmd/portal
binary: portal
goos:
- linux
goarch:
- amd64
- arm64
archives:
- replacements:
amd64: x86_64
- id: speedrun
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- speedrun
- id: portal
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- portal
checksum:
name_template: "checksums.txt"
snapshot: