version: 2 project_name: gomigrate release: github: owner: RSS-Engineering name: DCM-gomigrate name_template: '{{.Tag}}' artifactories: - name: production mode: archive target: https://dcm-generic-local.artifacts.rackspace.net/artifactory/dcm-generic-local/{{ .ProjectName }}/{{ .Tag }}/ checksum: true brews: - name: gomigrate commit_author: name: NetSec DC Migrations email: netsec_dc_migrations@rackspace.com repository: owner: RSS-Engineering name: DCM-gomigrate url_template: "https://dcm-generic-local.artifacts.rackspace.net/artifactory/dcm-generic-local/{{ .ProjectName }}/{{ .Tag }}/{{ .ArtifactName }}" directory: Formula caveats: | Gomigrate v{{ .Tag }} Notes: 1. Gomigrate will create it's own system keychain called 'Rackspace Internal' 1a. You may need to reauthenticate gomigrate to this keychain after update because the binary is a different signature. 2. Release changelog located at: - https://github.com/RSS-Engineering/DCM-gomigrate/releases/tag/{{ .Tag }} 3. For issues with this tool, please sumbit a GitHub issue here: - https://github.com/RSS-Engineering/DCM-gomigrate/issues 4. For more questions, please reach out to the #dc_migrations Slack channel homepage: https://one.rackspace.com/display/RAXM/Tooling description: | Gomigrate is a cli helper that centralizes scripts that we cannot put into NSCLI or other CLI utilities skip_upload: auto test: system "#{bin}/gomigrate" install: bin.install "gomigrate" nfpms: - id: gomigrate file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' ids: - gomigrate_nix # replacements: # amd64: 64-bit # 386: 32-bit # darwin: macOS # linux: Linux vendor: Rackspace, Inc. homepage: https://one.rackspace.com/display/RAXM/Tooling maintainer: DC Migrations description: | Gomigrate is a cli helper that centralizes scripts that we cannot put into NSCLI or other CLI utilities license: Apache 2.0 formats: - deb bindir: /usr/local/bin epoch: '1' builds: - targets: - darwin_amd64 main: cmd/main.go ldflags: -s -w -X main.buildVersion={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} binary: gomigrate env: - CGO_ENABLED=1 id: gomigrate_osx - targets: - darwin_arm64 main: cmd/main.go ldflags: -s -w -X main.buildVersion={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} binary: gomigrate env: - CGO_ENABLED=1 id: gomigrate_osx_arm64 - targets: - linux_amd64 main: cmd/main.go ldflags: -s -w -X main.buildVersion={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -linkmode external -extldflags -static binary: gomigrate env: - CC=x86_64-linux-musl-gcc - CXX=x86_64-linux-musl-g++ - CGO_ENABLED=1 id: gomigrate_nix archives: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' # replacements: # 386: i386 # amd64: x86_64 # darwin: Darwin # linux: Linux # windows: Windows formats: ["tar.gz"] files: - LICENSE* - README* - CHANGELOG* checksum: name_template: checksums.txt changelog: filters: exclude: - '^docs:' - '^test:' sort: asc dist: build env_files: github_token: ~/.config/goreleaser/github_token