2020-07-29 05:08:02 +00:00
|
|
|
project_name: glab
|
|
|
|
|
2020-10-01 12:47:19 +00:00
|
|
|
release:
|
|
|
|
prerelease: auto
|
|
|
|
|
2020-07-29 05:08:02 +00:00
|
|
|
before:
|
|
|
|
hooks:
|
2020-10-19 09:42:29 +00:00
|
|
|
- go mod tidy
|
|
|
|
|
2020-07-29 05:08:02 +00:00
|
|
|
builds:
|
|
|
|
- main: ./cmd/glab
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
2020-07-29 05:23:23 +00:00
|
|
|
ldflags:
|
2020-10-19 09:42:29 +00:00
|
|
|
- -s -w -X main.version={{.Version}} -X main.build={{time "2006-01-02"}}
|
2020-07-29 05:08:02 +00:00
|
|
|
- <<: &build_defaults
|
|
|
|
binary: bin/glab
|
2020-07-29 05:27:46 +00:00
|
|
|
main: ./cmd/glab
|
2020-07-29 05:08:02 +00:00
|
|
|
id: macos
|
|
|
|
goos: [darwin]
|
|
|
|
goarch: [amd64]
|
|
|
|
|
|
|
|
- <<: *build_defaults
|
|
|
|
id: linux
|
|
|
|
goos: [linux]
|
2020-08-05 00:42:32 +00:00
|
|
|
goarch: [386, amd64]
|
2020-07-29 05:08:02 +00:00
|
|
|
|
|
|
|
- <<: *build_defaults
|
|
|
|
id: windows
|
|
|
|
goos: [windows]
|
|
|
|
goarch: [386, amd64]
|
2020-07-31 06:36:23 +00:00
|
|
|
|
2020-07-29 05:08:02 +00:00
|
|
|
archives:
|
|
|
|
- replacements:
|
2020-07-31 07:15:17 +00:00
|
|
|
darwin: Darwin
|
|
|
|
linux: Linux
|
|
|
|
windows: Windows
|
2020-07-29 05:08:02 +00:00
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
2020-10-26 19:47:07 +00:00
|
|
|
allow_different_binary_count: true
|
2020-07-31 06:36:23 +00:00
|
|
|
|
|
|
|
- id: nix
|
2020-08-04 17:21:50 +00:00
|
|
|
builds: [macos, linux]
|
2020-07-31 06:36:23 +00:00
|
|
|
<<: &archive_defaults
|
|
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
2020-08-07 03:51:21 +00:00
|
|
|
wrap_in_directory: false
|
2020-10-26 19:01:54 +00:00
|
|
|
allow_different_binary_count: true
|
2020-07-31 06:36:23 +00:00
|
|
|
replacements:
|
|
|
|
darwin: macOS
|
2020-08-04 17:21:50 +00:00
|
|
|
linux: Linux
|
2020-07-31 06:36:23 +00:00
|
|
|
format: tar.gz
|
|
|
|
|
|
|
|
- id: windows
|
|
|
|
builds: [windows]
|
|
|
|
<<: *archive_defaults
|
|
|
|
wrap_in_directory: false
|
2020-10-26 19:01:54 +00:00
|
|
|
allow_different_binary_count: true
|
2020-07-31 06:36:23 +00:00
|
|
|
format: zip
|
|
|
|
|
|
|
|
scoop:
|
2020-08-05 04:36:08 +00:00
|
|
|
url_template: "http://github.com/profclems/glab/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
|
2020-07-31 06:36:23 +00:00
|
|
|
# Repository to push the app manifest to.
|
|
|
|
bucket:
|
|
|
|
owner: profclems
|
2020-08-05 00:42:32 +00:00
|
|
|
name: scoop-glab
|
2020-07-31 06:36:23 +00:00
|
|
|
commit_author:
|
2020-08-05 00:42:32 +00:00
|
|
|
name: Clement Sam
|
2020-07-31 06:36:23 +00:00
|
|
|
email: clementsam75@gmail.com
|
|
|
|
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
|
|
|
|
homepage: "https://github.com/profclems/glab"
|
|
|
|
description: "An open source gitlab cli tool"
|
|
|
|
license: MIT
|
|
|
|
persist:
|
2020-08-04 17:21:50 +00:00
|
|
|
- ".glab-cli"
|
2020-07-31 06:36:23 +00:00
|
|
|
- ".env"
|
|
|
|
|
2020-08-05 00:42:32 +00:00
|
|
|
brews:
|
|
|
|
- name: glab
|
|
|
|
ids:
|
|
|
|
- nix
|
2020-08-07 03:51:21 +00:00
|
|
|
description: "An open source GitLab CLI tool"
|
2020-08-05 00:42:32 +00:00
|
|
|
commit_author:
|
|
|
|
name: Clement Sam
|
|
|
|
email: clementsam75@gmail.com
|
|
|
|
folder: Formula
|
|
|
|
goarm: 6
|
|
|
|
tap:
|
|
|
|
owner: profclems
|
|
|
|
name: homebrew-tap
|
2020-08-05 04:36:08 +00:00
|
|
|
url_template: "http://github.com/profclems/glab/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
|
2020-08-05 00:42:32 +00:00
|
|
|
# Packages your package depends on.
|
|
|
|
homepage: "https://github.com/profclems/glab"
|
|
|
|
dependencies:
|
|
|
|
- name: git
|
2020-08-07 03:51:21 +00:00
|
|
|
install: bin.install "bin/glab"
|
2020-08-05 00:42:32 +00:00
|
|
|
test: |
|
2020-08-07 03:51:21 +00:00
|
|
|
system "#{bin}/glab version"
|
2020-10-01 12:47:19 +00:00
|
|
|
|
2020-08-05 00:42:32 +00:00
|
|
|
nfpms:
|
|
|
|
-
|
|
|
|
id: foo
|
|
|
|
package_name: glab
|
|
|
|
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
|
|
|
|
|
|
# Build IDs for the builds you want to create NFPM packages for.
|
|
|
|
# Defaults to all builds.
|
|
|
|
|
|
|
|
replacements:
|
|
|
|
amd64: x86_64
|
|
|
|
386: i386
|
|
|
|
darwin: macOS
|
|
|
|
linux: Linux
|
|
|
|
vendor: Clement Sam
|
|
|
|
homepage: https://github.com/profclems/glab
|
|
|
|
maintainer: Clement Sam <clementsam75@gmail.com>
|
|
|
|
description: An open source gitlab cli tool
|
|
|
|
license: MIT
|
|
|
|
formats:
|
|
|
|
- deb
|
|
|
|
- rpm
|
|
|
|
dependencies:
|
|
|
|
- git
|
|
|
|
# Override default /usr/local/bin destination for binaries
|
|
|
|
bindir: /usr/local/bin
|
|
|
|
|
2020-07-29 05:08:02 +00:00
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|
2020-08-17 23:20:52 +00:00
|
|
|
- '^Merge pull request'
|
|
|
|
- '^chore'
|
2020-10-01 12:47:19 +00:00
|
|
|
- '^Update README.md'
|