Skip to content

Commit 1f325d7

Browse files
committed
Force tag update on fetch
1 parent 67e4b0d commit 1f325d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/gbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ build_desc["remotes"].each do |remote|
318318
system!("git init inputs/#{dir}")
319319
end
320320
if !@options[:skip_fetch]
321-
system!("cd inputs/#{dir} && git fetch --update-head-ok #{sanitize_path(remote["url"], remote["url"])} #{commit}:refs/tags/tobuild")
321+
system!("cd inputs/#{dir} && git fetch -f --update-head-ok #{sanitize_path(remote["url"], remote["url"])} #{commit}:refs/tags/tobuild")
322322
system!("cd inputs/#{dir} && git checkout -q tobuild")
323323
system!("cd inputs/#{dir} && git submodule update --init --recursive --force")
324324
end

0 commit comments

Comments
 (0)