diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-12-05 19:34:41 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-12-08 20:57:44 -0500 |
| commit | 43a9e53dee19c56b79188081ee8adf326d7ddcdb (patch) | |
| tree | bc07fbe5e1c38ed53281105c376fcd2b30ba1e0f /recipes-devtools/python/python3-udica_git.bb | |
| parent | df651f904ee91b3cf9face353af8219223442e6b (diff) | |
| download | meta-virtualization-43a9e53dee19c56b79188081ee8adf326d7ddcdb.tar.gz | |
oe-go-mod-fetcher: use dereferenced tags
Use dereferenced tag (^{}) to get the actual commit hash
For annotated tags, ref_hint returns the tag object hash, not the commit
Example: refs/tags/v1.0.1 -> c49ff274 (tag object)
refs/tags/v1.0.1^{} -> 37c8de36 (actual commit)
current_tag_commit = git_ls_remote(vcs_url, f"{ref_hint}^{{}}")
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python3-udica_git.bb')
0 files changed, 0 insertions, 0 deletions
