From 34d2d08aeba1fbaea942b30c618f5fd5efa5c5b9 Mon Sep 17 00:00:00 2001 From: Han Yeong-woo Date: Thu, 6 Jun 2024 08:00:24 +0900 Subject: [PATCH] =?UTF-8?q?Version=E5=8C=BA=E5=88=87=E3=82=8A=E6=96=87?= =?UTF-8?q?=E5=AD=97=E3=82=92=E5=85=AC=E5=BC=8FCask=E3=81=A8=E5=90=8C?= =?UTF-8?q?=E3=81=98=E3=82=88=E3=81=86=E3=81=AB`@`=E3=81=AB=E3=81=99?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 次のような利点が得られます: - 後で公式Caskに移す時、摩擦を減らすことができる。 - ユーザーが公式Caskと同じ方式で使用できる。 --- .github/workflows/autobump.yml | 2 +- Casks/voicevox.rb | 4 ++-- Casks/{voicevox-dev.rb => voicevox@dev.rb} | 4 ++-- Casks/{voicevox-preview.rb => voicevox@preview.rb} | 4 ++-- audit_exceptions/github_prerelease_allowlist.json | 4 ++-- cask_renames.json | 4 ++++ 6 files changed, 13 insertions(+), 9 deletions(-) rename Casks/{voicevox-dev.rb => voicevox@dev.rb} (94%) rename Casks/{voicevox-preview.rb => voicevox@preview.rb} (95%) create mode 100644 cask_renames.json diff --git a/.github/workflows/autobump.yml b/.github/workflows/autobump.yml index ffb6ca9..1c7a4cf 100644 --- a/.github/workflows/autobump.yml +++ b/.github/workflows/autobump.yml @@ -14,6 +14,6 @@ jobs: # Required, custom GitHub access token with only the 'public_repo' scope enabled token: ${{ secrets.BUMP_CASK_TOKEN }} tap: VOICEVOX/voicevox - cask: voicevox, voicevox-dev, voicevox-preview + cask: voicevox, voicevox@dev, voicevox@preview livecheck: true dryrun: false diff --git a/Casks/voicevox.rb b/Casks/voicevox.rb index 4e25516..e3bad7f 100644 --- a/Casks/voicevox.rb +++ b/Casks/voicevox.rb @@ -14,8 +14,8 @@ end conflicts_with cask: [ - "voicevox-dev", - "voicevox-preview", + "voicevox@dev", + "voicevox@preview", ] app "VOICEVOX.app" diff --git a/Casks/voicevox-dev.rb b/Casks/voicevox@dev.rb similarity index 94% rename from Casks/voicevox-dev.rb rename to Casks/voicevox@dev.rb index 758ef4c..6a3a141 100644 --- a/Casks/voicevox-dev.rb +++ b/Casks/voicevox@dev.rb @@ -1,4 +1,4 @@ -cask "voicevox-dev" do +cask "voicevox@dev" do arch arm: "arm64", intel: "x64" version "0.20.0-dev" sha256 :no_check @@ -16,7 +16,7 @@ conflicts_with cask: [ "voicevox", - "voicevox-preview", + "voicevox@preview", ] app "VOICEVOX.app" diff --git a/Casks/voicevox-preview.rb b/Casks/voicevox@preview.rb similarity index 95% rename from Casks/voicevox-preview.rb rename to Casks/voicevox@preview.rb index 3a1d84d..cd5dbd9 100644 --- a/Casks/voicevox-preview.rb +++ b/Casks/voicevox@preview.rb @@ -1,4 +1,4 @@ -cask "voicevox-preview" do +cask "voicevox@preview" do version "0.16.0-preview.1" sha256 "14b48d4a3723fd9fc211e5c350f7563b56613ab981258038c3fda302acb17f0b" @@ -15,7 +15,7 @@ conflicts_with cask: [ "voicevox", - "voicevox-dev", + "voicevox@dev", ] app "VOICEVOX.app" diff --git a/audit_exceptions/github_prerelease_allowlist.json b/audit_exceptions/github_prerelease_allowlist.json index 6c2091d..3297ea8 100644 --- a/audit_exceptions/github_prerelease_allowlist.json +++ b/audit_exceptions/github_prerelease_allowlist.json @@ -1,4 +1,4 @@ { - "voicevox-dev": "all", - "voicevox-preview": "all" + "voicevox@dev": "all", + "voicevox@preview": "all" } diff --git a/cask_renames.json b/cask_renames.json new file mode 100644 index 0000000..869a168 --- /dev/null +++ b/cask_renames.json @@ -0,0 +1,4 @@ +{ + "voicevox-dev": "voicevox@dev", + "voicevox-preview": "voicevox@preview" +}