summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-08-20 11:06:34 +0200
committerGitHub <[email protected]>2022-08-20 11:06:34 +0200
commit0fc1e423097485035bd6c1f19d64ce8424387ca9 (patch)
tree82abdd2dc427f864bd187b28511dd43e280ac2ce /utils
parent08b5e99f53fc5170d35de3f474c7df5ae1fac62f (diff)
chore: bump plugins version (#2895)
Diffstat (limited to 'utils')
-rw-r--r--utils/ci/generate_new_lockfile.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/ci/generate_new_lockfile.lua b/utils/ci/generate_new_lockfile.lua
index fd10775c..8eef5184 100644
--- a/utils/ci/generate_new_lockfile.lua
+++ b/utils/ci/generate_new_lockfile.lua
@@ -70,6 +70,7 @@ local function write_lockfile(verbose)
name = name,
url = url,
commit = commit,
+ branch = plugin.branch or "HEAD",
})
end
@@ -90,7 +91,7 @@ local function write_lockfile(verbose)
}
end
- local handle = call_proc("git", { args = { "ls-remote", entry.url, "HEAD" } }, on_done)
+ local handle = call_proc("git", { args = { "ls-remote", entry.url, entry.branch } }, on_done)
assert(handle)
table.insert(active_jobs, handle)
end