tangled
alpha
login
or
join now
fuwn.net
/
yae
0
fork
atom
⛩️ Powerful yet Minimal Nix Dependency Manager
flake
flakes
home-manager
nixos
go
nix
dependency
dependencies
0
fork
atom
overview
issues
pulls
pipelines
fix(source): Handle peeled tags
fuwn.net
9 months ago
2ab6a72b
651df6c5
verified
This commit was signed with the committer's
known signature
.
fuwn.net
SSH Key Fingerprint:
SHA256:VPdFPyPbd6JkoMyWUdZ/kkTcIAt3sxjXD2XSAZ7FYC4=
+6
1 changed file
expand all
collapse all
unified
split
internal
yae
source.go
+6
internal/yae/source.go
···
118
118
refs := strings.Split(remotes, "\n")
119
119
var latest string
120
120
121
121
+
for i := range refs {
122
122
+
if strings.HasSuffix(refs[i], "^{}") {
123
123
+
refs[i] = strings.TrimSuffix(refs[i], "^{}")
124
124
+
}
125
125
+
}
126
126
+
121
127
if source.TagPredicate == "" {
122
128
latest = refs[len(refs)-2]
123
129
} else {