Skip to content

Commit

Permalink
docs: update major version number
Browse files Browse the repository at this point in the history
  • Loading branch information
cybardev committed Mar 7, 2024
1 parent 65c7019 commit 9338611
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ Click to navigate.

#### With Go

> **PS**: the pkg.go.dev registry may have an outdated version. If you encounter bugs or feature disparity, please replace `main` after `@` with the first part of the commit hash, e.g. `github.com/cybardev/ytgo/cmd/ytgo@e819a79`, **OR** try the [Manual installation](#manual) method for the latest updates.
> **Link to package**: [pkg.go.dev/github.com/cybardev/ytgo/v3][gopkg]
- Run the following command:

```sh
go install github.com/cybardev/ytgo/cmd/ytgo@main
go install github.com/cybardev/ytgo/v3/cmd/ytgo@latest
```

- Ensure `$GOPATH/bin` is added to `$PATH`. An easy way is to add this line to `~/.profile`:
Expand All @@ -48,10 +48,14 @@ Click to navigate.
export PATH="$(go env GOPATH)/bin:$PATH"
```

> **PS**: the [pkg.go.dev][gopkg] registry may have an outdated version. If you encounter bugs or feature disparity, please replace `latest` after `@` with `main`, e.g. `github.com/cybardev/ytgo/v3/cmd/ytgo@main`, **OR** try the [Manual installation](#manual) method for the latest updates.

### Usage

**PS**: For simplicity, I will refer to the binary as `ytgo`.

Output of `ytgo -h`:

```sh
Usage of ytgo:
-d Display URL only
Expand Down Expand Up @@ -102,6 +106,7 @@ Usage of ytgo:
<!-- Links -->

[ytpy]: https://github.com/cybardev/ytpy
[gopkg]: https://pkg.go.dev/github.com/cybardev/ytgo/v3
[release]: https://github.com/cybardev/ytgo/releases/tag/latest
[mpv]: https://github.com/mpv-player/mpv
[ytdl]: https://github.com/yt-dlp/yt-dlp
Expand Down
2 changes: 1 addition & 1 deletion cmd/ytgo/yt.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
)

const VERSION string = "v3.0.3"
const VERSION string = "v3.0.4"

const (
C_RED string = "\x1b[31m"
Expand Down

0 comments on commit 9338611

Please sign in to comment.