gitlab.com/prarit/lab@v0.14.0/.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: "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab"
     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  scoop:
    27    bucket:
    28      owner: zaquestion
    29      name: scoop-bucket
    30    commit_author:
    31      name: goreleaserbot
    32      email: goreleaser@carlosbecker.com
    33    homepage: "https://github.com/zaquestion/lab"
    34    description: "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab"
    35    license: Unlicense
    36  builds:
    37  - goos:
    38    - linux
    39    - darwin
    40    - windows
    41    goarch:
    42    - amd64
    43    - "386"
    44    goarm:
    45    - "6"
    46    main: .
    47    ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
    48    binary: lab
    49  archive:
    50    format: tar.gz
    51    name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
    52      .Arm }}{{ end }}'
    53  snapshot:
    54    name_template: SNAPSHOT-{{ .Commit }}
    55  checksum:
    56    name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
    57  changelog:
    58    filters:
    59      # commit messages matching the regexp listed here will be removed from
    60      # the changelog
    61      # Default is empty
    62      exclude:
    63        - '^\(docs\)'
    64        - '^\(travis\)'
    65        - '^\(coverage\)'
    66        - '^\(tests?'
    67        - '^Merge pull request'