github.com/icexin/eggos@v0.4.2-0.20220216025428-78b167e4f349/.goreleaser.yml (about)

     1  # This is an example .goreleaser.yml file with some sane defaults.
     2  # Make sure to check the documentation at http://goreleaser.com
     3  before:
     4    hooks:
     5      # You may remove this if you don't use go modules.
     6      - go mod tidy
     7      - go get github.com/magefile/mage
     8      - mage iso
     9  builds:
    10    - env:
    11        - CGO_ENABLED=0
    12      goos:
    13        - linux
    14        - windows
    15        - darwin
    16      dir: cmd
    17      main: ./egg
    18      binary: egg
    19  
    20  archives:
    21    - replacements:
    22        darwin: Darwin
    23        linux: Linux
    24        windows: Windows
    25        386: i386
    26        amd64: x86_64
    27      format_overrides:
    28        - goos: windows
    29          format: zip
    30      files:
    31        - eggos.iso
    32        - README.md
    33        - README_CN.md
    34        - LICENSE
    35  
    36  checksum:
    37    name_template: 'checksums.txt'
    38  snapshot:
    39    name_template: "{{ incpatch .Tag }}-next"
    40  changelog:
    41    skip: false
    42    sort: asc
    43    filters:
    44      exclude:
    45        - '^docs:'
    46        - '^test:'