-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
921ec71
commit 44ca31d
Showing
1 changed file
with
38 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,64 @@ | ||
# set environment variables to be used in the build process | ||
# Set environment variables to be used in the build process | ||
env: | ||
# enable GO111Modules if you are using Go1.11 modules in your project for dependency management | ||
- GO111MODULE=on | ||
# Disable CGO - We will go more into this later | ||
- CGO_ENABLED=0 | ||
# before are hooks that will be run before any builds are done, so good to put install scripts and stuff that your builds need here | ||
|
||
# Hooks that will be run before any builds are done | ||
before: | ||
hooks: | ||
# Remove unused packaged from the build process | ||
- go mod tidy | ||
# You may remove this if you don't use go modules - Downloads all modules specified in go.mod | ||
- go mod download | ||
# buids. This is very basic, but there is a ton of customization you can do here. | ||
# I would check out https://goreleaser.com/customization/ to learn more. | ||
- go mod tidy | ||
- go mod download | ||
|
||
# Builds configuration | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
# your entrypoint into your application | ||
- CGO_ENABLED=0 | ||
main: ./cmd/scdl/main.go | ||
# the name of the binary that you want to generate - this will also be the binary name for when we get to homebrew... | ||
# Example: scdl <url> where scdl is the name of the binary | ||
binary: scdl | ||
# The different tar archives to build for - includes naming customization and such :) | ||
|
||
# Archive configurations | ||
archives: | ||
# default format for Mac (darwin) and Linux | ||
- format: tar.gz | ||
# if the OS is windows, we override and put everything in a .zip instead. | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
# Just the naming convention for tarballs... Example: msconsole_1.0.0_darwin_64bit | ||
- goos: windows | ||
format: zip | ||
name_template: '{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}' | ||
# Replace the cryptic arch's with readable human naming conventions | ||
replacements: | ||
amd64: 64bit | ||
386: 32bit | ||
arm: ARM | ||
arm64: ARM64 | ||
darwin: macOS | ||
linux: Linux | ||
windows: Windows | ||
amd64: 64bit | ||
386: 32bit | ||
arm: ARM | ||
arm64: ARM64 | ||
darwin: macOS | ||
linux: Linux | ||
windows: Windows | ||
files: | ||
- README.md | ||
# The generated checksum after your build. No need to touch this unless you know what you are doing. | ||
- README.md | ||
|
||
# Checksum configuration | ||
checksum: | ||
name_template: 'checksums.txt' | ||
# The name of the reason snapshot | ||
|
||
# Snapshot configuration | ||
snapshot: | ||
name_template: '{{ .Tag }}-next' | ||
# GoReleaser will generate you a changelog depending on the commits that you have created. | ||
|
||
# Changelog configuration | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
- 'README' | ||
- 'LICENSE' | ||
- Merge pull request | ||
- Merge branch | ||
# Seperate repo that you need to create before you deploy. | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
- 'README' | ||
- 'LICENSE' | ||
- 'Merge pull request' | ||
- 'Merge branch' | ||
|
||
# Homebrew configuration | ||
brews: | ||
- tap: | ||
owner: imthaghost | ||
name: homebrew-scdl | ||
owner: imthaghost | ||
name: homebrew-scdl | ||
folder: Formula | ||
homepage: https://github.com/imthaghost/scdl | ||
description: SoundCloud Music Downloader | Scdl is the fastest SoundCloud music downloading CLI tool. Scdl utilizes go routine pools which allows you to download any song from SoundCloud within seconds. There are extended features such as recursively downloading all songs from a given artist and grabbing song artwork. | ||
description: "SoundCloud Music Downloader | Scdl is the fastest SoundCloud music downloading CLI tool. Scdl utilizes go routine pools which allows you to download any song from SoundCloud within seconds. There are extended features such as recursively downloading all songs from a given artist and grabbing song artwork." |