<commit_before>project_name: m3
builds:
  - id: m3dbnode
    main: ./src/cmd/services/m3dbnode/main/main.go
    binary: m3dbnode
    env:
      - CGO_ENABLED=0
    ldflags: >-
      -X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
      -X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
      -X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
      -X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
      -X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
      -X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
    goos:
      - linux
      - darwin
      # Issue #692 tracks Windows support.
      # - windows
    goarch:
      - amd64
  - id: m3coordinator
    main: ./src/cmd/services/m3coordinator/main/main.go
    binary: m3coordinator
    env:
      - CGO_ENABLED=0
    ldflags: >-
      -X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
      -X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
      -X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
      -X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
      -X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
      -X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
    goos:
      - linux
      - darwin
      # Issue #692 tracks Windows support.
      # - windows
    goarch:
      - amd64
  - id: m3query
    main: ./src/cmd/services/m3query/main/main.go
    binary: m3query
    env:
      - CGO_ENABLED=0
    ldflags: >-
      -X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
      -X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
      -X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
      -X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
      -X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
      -X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
    goos:
      - linux
      - darwin
      # Issue #692 tracks Windows support.
      # - windows
  - id: m3aggregator
    main: ./src/cmd/services/m3aggregator/main/main.go
    binary: m3aggregator
    env:
      - CGO_ENABLED=0
    ldflags: >-
      -X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
      -X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
      -X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
      -X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
      -X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
      -X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
    goos:
      - linux
      - darwin
      # Issue #692 tracks Windows support.
      # - windows
    goarch:
      - amd64
archive:
  wrap_in_directory: true
  format_overrides:
    - goos: windows
      format: zip
  files:
    - LICENSE
    - README.md
release:
  github:
    owner: m3db
    name: m3<commit_msg>[goreleaser] Only build amd64 architecture for m3query releases (#2202)<commit_after>project_name: m3
builds:
  - id: m3dbnode
    main: ./src/cmd/services/m3dbnode/main/main.go
    binary: m3dbnode
    env:
      - CGO_ENABLED=0
    ldflags: >-
      -X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
      -X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
      -X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
      -X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
      -X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
      -X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
    goos:
      - linux
      - darwin
      # Issue #692 tracks Windows support.
      # - windows
    goarch:
      - amd64
  - id: m3coordinator
    main: ./src/cmd/services/m3coordinator/main/main.go
    binary: m3coordinator
    env:
      - CGO_ENABLED=0
    ldflags: >-
      -X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
      -X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
      -X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
      -X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
      -X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
      -X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
    goos:
      - linux
      - darwin
      # Issue #692 tracks Windows support.
      # - windows
    goarch:
      - amd64
  - id: m3query
    main: ./src/cmd/services/m3query/main/main.go
    binary: m3query
    env:
      - CGO_ENABLED=0
    ldflags: >-
      -X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
      -X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
      -X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
      -X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
      -X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
      -X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
    goos:
      - linux
      - darwin
      # Issue #692 tracks Windows support.
      # - windows
    goarch:
      - amd64
  - id: m3aggregator
    main: ./src/cmd/services/m3aggregator/main/main.go
    binary: m3aggregator
    env:
      - CGO_ENABLED=0
    ldflags: >-
      -X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
      -X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
      -X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
      -X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
      -X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
      -X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
    goos:
      - linux
      - darwin
      # Issue #692 tracks Windows support.
      # - windows
    goarch:
      - amd64
archive:
  wrap_in_directory: true
  format_overrides:
    - goos: windows
      format: zip
  files:
    - LICENSE
    - README.md
release:
  github:
    owner: m3db
    name: m3
{'fraction_non_alphanumeric': 0.16810190168640116, 'fraction_numerical': 0.014890563329745246, 'mean_word_length': 2.4265519360786723, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3046423', 'n_tokens_mistral': 2223, 'n_tokens_neox': 2179, 'n_words': 301}