【发布时间】:2022-01-03 07:34:47
【问题描述】:
我正在尝试为 Tentacle Sync Studio 提交一个木桶,但我遇到了 livecheck 无法找到最新版本的问题。我跑了brew audit --new-cask tentacle-sync-studio 并收到以下错误- Version '1.30' differs from '' retrieved by livecheck.
cask "tentacle-sync-studio" do
version "1.30"
sha256 "4f7bdaef85b78f576babac91d57da3b3276cc98a2f81ac621bea96a48fe8796a"
url "https://tentaclesync.com/files/downloads/ttsyncstudio-v#{version.dots_to_underscores}.dmg"
name "Tentacle Sync Studio"
desc "Automatically synchronize video and audio via timecode"
homepage "https://tentaclesync.com/"
livecheck do
url "https://tentaclesync.zendesk.com/hc/en-us/articles/115003866805-Tentacle-Sync-Studio-macOS-"
strategy :page_match
regex(%r{/v?(\d+(?:\.\d+)+)/ttsyncstudio\.dmg}i)
end
depends_on macos: ">= :high_sierra"
app "Tentacle Sync Studio.app"
end
我可能没有使用正确的“策略”,尽管阅读了 Homebrew 的说明,但我真的不知道如何设置正则表达式。任何帮助表示赞赏。
【问题讨论】:
标签: macos homebrew homebrew-cask