Browse Source

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

Related: https://github.com/ohmyzsh/ohmyzsh/pull/12747#issuecomment-2410440748
Marc Cornellà 1 month ago
parent
commit
b3ba8da421
1 changed files with 1 additions and 1 deletions
  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()
                     self.__apply_upstream_changes()
 
 
                     # Add all changes and commit
                     # 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:
                     if has_new_commit:
                         # Push changes to remote
                         # Push changes to remote