b3ba8da4218c3b9e1e5e45e1d4c00d312ff7226b

Author
Marc Cornellà <marc@mcornella.com>
Committer
GitHub <noreply@github.com>
Date

Message

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

Related: https://github.com/ohmyzsh/ohmyzsh/pull/12747#issuecomment-2410440748

Diff

 1diff --git a/.github/workflows/dependencies/updater.py b/.github/workflows/dependencies/updater.py
 2index f85c9eda7cc3c5e1eccbe20f5c778c556b5c673c..02cff90304e8ae54dfa42597f8d4629b2dcc8d38 100644
 3--- a/.github/workflows/dependencies/updater.py
 4+++ b/.github/workflows/dependencies/updater.py
 5@@ -228,7 +228,7 @@ class Dependency:
 6                     self.__apply_upstream_changes()
 7 
 8                     # Add all changes and commit
 9-                    has_new_commit = Git.add_and_commit(self.name, short_sha)
10+                    has_new_commit = Git.add_and_commit(self.name, new_version)
11 
12                     if has_new_commit:
13                         # Push changes to remote