aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-11 22:07:20 +0000
committerFuwn <[email protected]>2024-10-11 22:07:20 +0000
commit9faaf211bb44cbca9f9830ab03b150bbbb79364d (patch)
treec1f1faa7ec906ccf87dadb7021919a1e65bfd8cd
parentfeat(yae): force pinned updates flag (diff)
downloadyae-9faaf211bb44cbca9f9830ab03b150bbbb79364d.tar.xz
yae-9faaf211bb44cbca9f9830ab03b150bbbb79364d.zip
feat(yae): remove remote tag restriction
-rw-r--r--yae.go2
1 files changed, 1 insertions, 1 deletions
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