Open-CMSIS-Pack/generator-bridge

View on GitHub
.goreleaser.yml

Summary

Maintainability
Test Coverage
project_name: cbridge

builds:
  - env: [CGO_ENABLED=0]
    goos:
      - linux
      - windows
      - darwin
    goarch:
      - amd64
      - arm64
    main: ./cmd

archives:
  - files:
      - LICENSE
      - README.md
      - third_party_licenses.md
      - src: scripts/MCUXpresso_Config_Tools/{{.Os}}-{{.Arch}}/launch-MCUXpressoConfigTools*
        strip_parent: true

    format_overrides:
      - goos: windows
        format: zip

    # Set to true, if you want all files in the archive to be in a single directory.
    # If set to true and you extract the archive 'goreleaser_Linux_arm64.tar.gz',
    # you get a folder 'goreleaser_Linux_arm64'.
    # If set to false, all files are extracted separately.
    # You can also set it to a custom folder name (templating is supported).
    # Default is false.
    wrap_in_directory: true