talm

Форк
0
/
.goreleaser.yaml 
40 строк · 1015.0 Байт
1
# This is an example .goreleaser.yml file with some sensible defaults.
2
# Make sure to check the documentation at https://goreleaser.com
3

4
# The lines below are called `modelines`. See `:help modeline`
5
# Feel free to remove those if you don't want/need to use them.
6
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
8

9
version: 1
10

11
before:
12
  hooks:
13
    # You may remove this if you don't use go modules.
14
    - go mod tidy
15
builds:
16
  - env:
17
      - CGO_ENABLED=0
18
    goos:
19
      - linux
20
      - windows
21
      - darwin
22
    ldflags:
23
      - -X main.Version={{.Version}}
24

25
archives:
26
  - format: binary
27
    # this name template makes the OS and Arch compatible with the results of `uname`.
28
    name_template: >-
29
      {{ .ProjectName }}-
30
      {{- tolower (title .Os) }}-
31
      {{- if eq .Arch "386" }}i386
32
      {{- else }}{{ .Arch }}{{ end }}
33
      {{- if .Arm }}v{{ .Arm }}{{ end }}
34

35
changelog:
36
  sort: asc
37
  filters:
38
    exclude:
39
      - "^docs:"
40
      - "^test:"
41

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.