https://github.com/utahta/pythonbrew
Tip revision: 8e866c8fa22f7527d92e38b75e1b83f69eb685c7 authored by utahta on 11 February 2020, 09:22:10 UTC
fix subcmd/update
fix subcmd/update
Tip revision: 8e866c8
.goreleaser.yml
project_name: pythonbrew
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
-
main: ./cmd/pythonbrew/pythonbrew.go
binary: pythonbrew
flags: -trimpath
ldflags:
- -s -w
- -X github.com/utahta/pythonbrew/subcmd.Version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- freebsd
- windows
archives:
-
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
release:
prerelease: auto