github.com/Finschia/finschia-sdk@v0.48.1/.goreleaser.yml (about)

     1  before:
     2    hooks:
     3      - go mod tidy
     4  builds:
     5    - id: simd-linux-amd64
     6      main: ./simapp/simd
     7      binary: simd
     8      goos:
     9        - linux
    10      goarch:
    11        - amd64
    12      env:
    13        - CGO_ENABLED=1
    14        - CC=x86_64-linux-gnu-gcc
    15        - CXX=x86_64-linux-gnu-g++
    16      flags:
    17        - -mod=readonly
    18        - -trimpath
    19        - "-tags={{ .Env.BUILD_TAGS }}"
    20      ldflags:
    21        - "{{ .Env.BUILD_VARS }}"
    22  
    23    - id: simd-linux-arm64
    24      main: ./simapp/simd
    25      binary: simd
    26      goos:
    27        - linux
    28      goarch:
    29        - arm64
    30      env:
    31        - CGO_ENABLED=1
    32        - CC=aarch64-linux-gnu-gcc
    33        - CXX=aarch64-linux-gnu-g++
    34      flags:
    35        - -mod=readonly
    36        - -trimpath
    37        - "-tags={{ .Env.BUILD_TAGS }}"
    38      ldflags:
    39        - "{{ .Env.BUILD_VARS }}"
    40  
    41    - id: simd-darwin-amd64
    42      main: ./simapp/simd
    43      binary: simd
    44      goos:
    45        - darwin
    46      goarch:
    47        - amd64
    48      env:
    49        - CGO_ENABLED=1
    50        - CC=o64-clang
    51        - CXX=o64-clang++
    52      flags:
    53        - -mod=readonly
    54        - -trimpath
    55        - "-tags={{ .Env.BUILD_TAGS }}"
    56      ldflags:
    57        - "{{ .Env.BUILD_VARS }}"
    58  
    59    - id: simd-darwin-arm64
    60      main: ./simapp/simd
    61      binary: simd
    62      goos:
    63        - darwin
    64      goarch:
    65        - arm64
    66      env:
    67        - CGO_ENABLED=1
    68        - CC=oa64-clang
    69        - CXX=oa64-clang++
    70      flags:
    71        - -mod=readonly
    72        - -trimpath
    73        - "-tags={{ .Env.BUILD_TAGS }}"
    74      ldflags:
    75        - "{{ .Env.BUILD_VARS }}"
    76  
    77  archives:
    78    -
    79      id: bin-archive
    80      builds:
    81        - simd-linux-amd64
    82        - simd-linux-arm64
    83        - simd-darwin-amd64
    84        - simd-darwin-arm64
    85      format: tar.gz
    86      name_template: "simd_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
    87      wrap_in_directory: true
    88      files:
    89        - LICENSE
    90        - NOTICE
    91        - RELEASE_CHANGELOG.md
    92  
    93  checksum:
    94    name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
    95  snapshot:
    96    name_template: "{{ incpatch .Version }}-next"
    97  changelog:
    98    use: git
    99    sort: asc
   100    groups:
   101      - title: "Breaking Changes"
   102        regexp: '^.*?BREAKING CHANGE(\([[:word:]]+\))??!?:.+$'
   103        order: 0
   104      - title: Features
   105        regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
   106        order: 1
   107      - title: 'Bug Fixes'
   108        regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
   109        order: 2
   110      - title: 'Build, CI'
   111        regexp: '^.*?(ci|build)(\([[:word:]]+\))??!?:.+$'
   112        order: 3
   113      - title: 'Document Updates'
   114        regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
   115        order: 4
   116      - title: Improvements
   117        regexp: '^.*?(test|refactor|perf)(\([[:word:]]+\))??!?:.+$'
   118        order: 5
   119      - title: Others
   120        order: 999
   121  
   122  release:
   123    github:
   124      owner: finschia
   125      name: finschia-sdk
   126    prerelease: auto
   127    mode: replace
   128    draft: false
   129  
   130  
   131  # modelines, feel free to remove those if you don't want/use them:
   132  # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
   133  # vim: set ts=2 sw=2 tw=0 fo=cnqoj