浏览代码

ci(dependencies): use tag version in git commit if available (#12756)

Related: https://github.com/ohmyzsh/ohmyzsh/pull/12747#issuecomment-2410440748
Marc Cornellà 1 月之前
父节点
当前提交
b3ba8da421
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/dependencies/updater.py

+ 1 - 1
.github/workflows/dependencies/updater.py

@@ -228,7 +228,7 @@ class Dependency:
                     self.__apply_upstream_changes()
 
                     # Add all changes and commit
-                    has_new_commit = Git.add_and_commit(self.name, short_sha)
+                    has_new_commit = Git.add_and_commit(self.name, new_version)
 
                     if has_new_commit:
                         # Push changes to remote