github.com/lelandbatey/lab@v0.12.1-0.20180712064405-55bfd303a5f0/.goreleaser.yml (about)

     1  project_name: lab
     2  release:
     3    github:
     4      owner: zaquestion
     5      name: lab
     6    name_template: '{{.Tag}}'
     7  brew:
     8    description: "CLI tool for GitLab, like hub"
     9    homepage: "https://github.com/zaquestion/lab"
    10    github:
    11      owner: zaquestion
    12      name: homebrew-tap
    13    commit_author:
    14      name: goreleaserbot
    15      email: goreleaser@carlosbecker.com
    16    install: bin.install "lab"
    17    test: |
    18      system "git", "init"
    19      %w[haunted house].each { |f| touch testpath/f }
    20      system "git", "add", "haunted", "house"
    21      system "git", "commit", "-a", "-m", "Initial Commit"
    22      system "git", "config", "--local", "--add", "gitlab.host", "http://example.com"
    23      system "git", "config", "--local", "--add", "gitlab.user", "test"
    24      system "git", "config", "--local", "--add", "gitlab.token", "test"
    25      assert_equal "haunted\nhouse", shell_output("#{bin}/lab ls-files").strip
    26  builds:
    27  - goos:
    28    - linux
    29    - darwin
    30    - windows
    31    goarch:
    32    - amd64
    33    - "386"
    34    goarm:
    35    - "6"
    36    main: .
    37    ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
    38    binary: lab
    39  archive:
    40    format: tar.gz
    41    name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
    42      .Arm }}{{ end }}'
    43  snapshot:
    44    name_template: SNAPSHOT-{{ .Commit }}
    45  checksum:
    46    name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
    47  changelog:
    48    filters:
    49      # commit messages matching the regexp listed here will be removed from
    50      # the changelog
    51      # Default is empty
    52      exclude:
    53        - '^\(docs\)'
    54        - '^\(travis\)'
    55        - '^\(coverage\)'
    56        - '^\(tests?'
    57        - '^Merge pull request'