Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Commit

Permalink
Fix goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
corny committed Dec 27, 2019
1 parent 5ae23c9 commit 9039e10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion cmd/ytdl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ import (
"github.com/urfave/cli"
)

var (
version = "dev"
)

type options struct {
outputFile string
infoOnly bool
Expand All @@ -40,7 +44,7 @@ func main() {
app.ArgsUsage = "[youtube url or video id]"
app.Usage = "Download youtube videos"
app.HideHelp = true
app.Version = "0.5.0"
app.Version = version

app.Flags = []cli.Flag{
cli.HelpFlag,
Expand Down
4 changes: 2 additions & 2 deletions goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
builds:
- main: ./cmd/ytdl/main.go
- main: ./cmd/ytdl
binary: ytdl
goos:
- windows
- darwin
- linux
goarch:
- amd64
- amd64

0 comments on commit 9039e10

Please sign in to comment.