Check the latest version from the LATEST text file

This commit is contained in:
2023-06-30 11:02:20 +02:00
parent e0b98189eb
commit df4c9b4ae9
2 changed files with 21 additions and 3 deletions

View File

@ -147,11 +147,12 @@ AUTO_UPDATABLE = {
'php82' => SlackBuilder::GitHub.new('php', 'php-src', php_transform),
'rdiff-backup' => SlackBuilder::GitHub.new('rdiff-backup', 'rdiff-backup'),
'librsync' => SlackBuilder::GitHub.new('librsync', 'librsync'),
'jitsi-meet-desktop' => SlackBuilder::GitHub.new('jitsi', 'jitsi-meet-electron')
'jitsi-meet-desktop' => SlackBuilder::GitHub.new('jitsi', 'jitsi-meet-electron'),
'dmd' => SlackBuilder::LatestText.new('https://downloads.dlang.org/releases/LATEST')
}.freeze
task :up2date do
AUTO_UPDATABLE.each do |key, value|
latest_version = SlackBuilder.check_for_latest key, value
SlackBuilder.check_for_latest key, value
end
end