diff options
| author | Fuwn <[email protected]> | 2024-10-11 22:07:20 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-11 22:07:20 +0000 |
| commit | 9faaf211bb44cbca9f9830ab03b150bbbb79364d (patch) | |
| tree | c1f1faa7ec906ccf87dadb7021919a1e65bfd8cd | |
| parent | feat(yae): force pinned updates flag (diff) | |
| download | yae-9faaf211bb44cbca9f9830ab03b150bbbb79364d.tar.xz yae-9faaf211bb44cbca9f9830ab03b150bbbb79364d.zip | |
feat(yae): remove remote tag restriction
| -rw-r--r-- | yae.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -280,7 +280,7 @@ func command(name string, show bool, args ...string) (string, error) { func fetchLatestGitTag(source Source, show bool) (string, error) { if source.Type == "git" { repository := "https://github.com/" + strings.Split(source.URL, "/")[3] + "/" + strings.Split(source.URL, "/")[4] - remotes, err := command("bash", show, "-c", fmt.Sprintf("git ls-remote --tags %s | awk -F'/' '{print $NF}' | sort -V", repository)) + remotes, err := command("bash", show, "-c", fmt.Sprintf("git ls-remote %s | awk -F'/' '{print $NF}' | sort -V", repository)) if err != nil { return "", err |