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

Related: https://github.com/ohmyzsh/ohmyzsh/pull/12747#issuecomment-2410440748
This commit is contained in:
Marc Cornellà 2024-10-14 13:15:39 +02:00 committed by GitHub
parent 9bfa3395f3
commit b3ba8da421
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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