Skip to content

Commit

Permalink
Adding releases for windows,openbsd,linux,macos,freebsd,netbsd,arm*,amd*
Browse files Browse the repository at this point in the history
Adding version
Adding social media links
  • Loading branch information
LuD1161 committed May 14, 2022
1 parent 28fcc4a commit 0001a96
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
43 changes: 41 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,51 @@
# .goreleaser.yaml
builds:
# You can have multiple builds defined as a yaml list
-
# Custom ldflags templates.
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
ldflags:
- -X main.commit={{.Commit}}

# Custom environment variables to be set during the builds.
# Default is empty.
env:
- CGO_ENABLED=0

# GOOS list to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are darwin and linux.
goos:
- freebsd
- windows
- darwin
- openbsd
- linux
- netbsd

# GOARCH to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are 386, amd64 and arm64.
goarch:
- amd64
- arm
- arm64

# GOARM to build for when GOARCH is arm.
# For more info refer to: https://golang.org/doc/install/source#environment
# Default is only 6.
goarm:
- 6
- 7

archives:
-
files:
- data/*
- README.md
- config.yaml.sample
- LICENSE



release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
Expand Down
2 changes: 2 additions & 0 deletions cmd/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ const banner = `
# Author: Aseem Shrey (@aseemshrey)
# URL: https://github.com/LuD1161/upi-recon-cli
# Website : https://aseemshrey.in
# YouTube : https://www.youtube.com/c/HackingSimplifiedAS
`
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ var (
cmd.Help()
}
},
Version: fmt.Sprintf("0.1.1"),
}
)

Expand Down

0 comments on commit 0001a96

Please sign in to comment.