From 9faaf211bb44cbca9f9830ab03b150bbbb79364d Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 11 Oct 2024 22:07:20 +0000 Subject: feat(yae): remove remote tag restriction --- yae.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yae.go b/yae.go index 01a06d9..1b7a1fd 100644 --- a/yae.go +++ b/yae.go @@ -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 -- cgit v1.2.3