aboutsummaryrefslogtreecommitdiff
path: root/yae.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-11 15:11:22 -0700
committerFuwn <[email protected]>2024-10-11 15:11:26 -0700
commitd0eaa90dc4172dee11d27b01694b90d0e94027bf (patch)
tree679f82428b055c63f9b310adb4e77c8d3cd6a412 /yae.go
parent2a4f2ad8756a75906d980a0fc7fbbb478ddd36ff (diff)
downloadyae-d0eaa90dc4172dee11d27b01694b90d0e94027bf.tar.xz
yae-d0eaa90dc4172dee11d27b01694b90d0e94027bf.zip
feat(yae): allow statically forceable sources
Diffstat (limited to 'yae.go')
-rw-r--r--yae.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/yae.go b/yae.go
index 1b7a1fd..7749b2a 100644
--- a/yae.go
+++ b/yae.go
@@ -333,7 +333,7 @@ func updateSource(sources *Sources, name string, source Source, show bool, force
return updated, err
}
- if tag != source.Version || force {
+ if tag != source.Version || force || source.Force {
if show {
fmt.Println("updated version for", name, "from", source.Version, "to", tag)
}