-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy path.goreleaser.yml
35 lines (35 loc) · 909 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/main.go
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
# don't build arm for darwin and arm/arm64 for windows
- goos: windows
goarch: arm64
- goos: darwin
goarch: arm64
ldflags:
- -X "github.com/alibaba/open-simulator/cmd/version.VERSION={{ .Tag }}" -X "github.com/alibaba/open-simulator/cmd/version.COMMITID={{ .ShortCommit }}"
archives:
- name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
wrap_in_directory: true
files:
- LICENSE
- example/*
checksum:
name_template: 'CHECKSUM'
release:
github:
owner: alibaba
name: open-simulator
draft: true
prerelease: auto