mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
fix: use ref instead of branch name
This commit is contained in:
parent
424715a8ab
commit
0efcee86af
1 changed files with 1 additions and 1 deletions
2
.github/workflows/dependencies/updater.py
vendored
2
.github/workflows/dependencies/updater.py
vendored
|
|
@ -219,7 +219,7 @@ class Dependency:
|
||||||
if status["has_updates"] is True:
|
if status["has_updates"] is True:
|
||||||
short_sha = status["head_ref"][:8]
|
short_sha = status["head_ref"][:8]
|
||||||
new_version = status["version"] if is_tag else short_sha
|
new_version = status["version"] if is_tag else short_sha
|
||||||
source_ref = new_version if is_tag else remote_branch
|
source_ref = new_version if is_tag else status["head_ref"]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
branch_name = f"update/{self.path}/{new_version}"
|
branch_name = f"update/{self.path}/{new_version}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue