Update Updater workflows, have version.rb deduplicate update list. (#12803)

* Update Updater workflows, have version.rb deduplicate update list.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Ignore shellcheck complaint.

* Add updater exclusions.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add ruby to updater exclusion.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add tika versioning exclusion.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2025-09-16 14:42:44 -04:00
committed by GitHub
parent 5943468777
commit bc14d4dfb4
4 changed files with 52 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
# version.rb version 2.6 (for Chromebrew)
# version.rb version 2.7 (for Chromebrew)
OPTIONS = %w[-h --help -j --json -u --update-package-files -v --verbose]
@@ -178,6 +178,9 @@ else
end
end
# Remove duplicates.
filelist.uniq!
if filelist.length.positive?
max_pkg_name_length = File.basename(filelist.max_by(&:length)).length - 3
package_field_length = [max_pkg_name_length, 7].max + 1