duplicati: add livecheck (#97381)

This commit is contained in:
Markus Reiter 2021-01-08 15:15:55 +01:00 committed by GitHub
parent 7c29efc71b
commit 433e31f294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 4 deletions

View File

@ -80,6 +80,8 @@ jobs:
if ! brew untap adoptopenjdk/openjdk; then
echo '::warning::Untapping adoptopenjdk/openjdk is no longer necessary.'
fi
brew unlink python && brew link --overwrite python
if: runner.os == 'macOS'
# Workaround until the `cache` action uses the changes from

View File

@ -1,14 +1,21 @@
cask "duplicati" do
version "2.0.5.1,2020-01-18"
sha256 "38509531cc9a007b98527af604f9a5faeb41b9221a79c7bd36e8846a32f1fda0"
version "2.0.5.111,canary:2020-09-26"
sha256 "98a62f67337e0db74c0ce86082d98a0670d269e367090bc2cc3f9ad5e7e8a46b"
url "https://github.com/duplicati/duplicati/releases/download/v#{version.before_comma}-#{version.before_comma}_beta_#{version.after_comma}/duplicati-#{version.before_comma}_beta_#{version.after_comma}.dmg",
url "https://github.com/duplicati/duplicati/releases/download/v#{version.before_comma}-#{version.before_comma}_#{version.after_comma.before_colon}_#{version.after_colon}/duplicati-#{version.before_comma}_#{version.after_comma.before_colon}_#{version.after_colon}.dmg",
verified: "github.com/duplicati/duplicati/"
appcast "https://github.com/duplicati/duplicati/releases.atom"
name "Duplicati"
desc "Store securely encrypted backups in the cloud!"
homepage "https://www.duplicati.com/"
livecheck do
url "https://github.com/duplicati/duplicati/releases/latest"
strategy :page_match do |page|
match = page.match(%r{href=.*?/duplicati-(\d+(?:\.\d+)*)_([^/]*?)_(\d+(?:-\d+)*)\.dmg}i)
"#{match[1]},#{match[2]}:#{match[3]}"
end
end
depends_on formula: "mono"
app "Duplicati.app"

View File

@ -1,4 +1,5 @@
{
"duplicati": "all",
"extraterm": "all",
"freetube": "all",
"graphsketcher": "all",