From f610bb7fb7ac2678fb67179170b9090778fe16e6 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sun, 29 Dec 2024 20:40:58 +0900 Subject: [PATCH] feat(sachaos/todoist): scaffold sachaos/todoist (#30412) --- pkgs/sachaos/todoist/pkg.yaml | 4 ++- pkgs/sachaos/todoist/registry.yaml | 40 +++++++++++++++++++++++------- registry.yaml | 40 +++++++++++++++++++++++------- 3 files changed, 65 insertions(+), 19 deletions(-) diff --git a/pkgs/sachaos/todoist/pkg.yaml b/pkgs/sachaos/todoist/pkg.yaml index 7cb8902cd32..139458a5b0b 100644 --- a/pkgs/sachaos/todoist/pkg.yaml +++ b/pkgs/sachaos/todoist/pkg.yaml @@ -1,4 +1,6 @@ packages: - - name: sachaos/todoist@v0.20.0 + - name: sachaos/todoist@v0.21.0 + - name: sachaos/todoist + version: v0.20.0 - name: sachaos/todoist version: v0.19.0 diff --git a/pkgs/sachaos/todoist/registry.yaml b/pkgs/sachaos/todoist/registry.yaml index 3b5bb1b81f8..be4a52e5f59 100644 --- a/pkgs/sachaos/todoist/registry.yaml +++ b/pkgs/sachaos/todoist/registry.yaml @@ -3,14 +3,36 @@ packages: - type: github_release repo_owner: sachaos repo_name: todoist - description: Todoist CLI Client. I love Todoist and CLI - asset: todoist_{{.OS}}_{{.Arch}} - format: raw - rosetta2: true - supported_envs: - - darwin - - amd64 - version_constraint: semver(">= 0.20.0") + description: Todoist CLI Client. I Todoist and CLI + version_constraint: "false" version_overrides: - - version_constraint: semver("< 0.20.0") + - version_constraint: semver("<= 0.19.0") + asset: todoist_{{.OS}}_{{.Arch}} + format: raw + rosetta2: true + windows_arm_emulation: true complete_windows_ext: false + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: Version == "v0.20.0" + asset: todoist_{{.OS}}_{{.Arch}} + format: raw + windows_arm_emulation: true + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: "true" + asset: todoist_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 diff --git a/registry.yaml b/registry.yaml index 16177140bb6..9b8ad49d2e8 100644 --- a/registry.yaml +++ b/registry.yaml @@ -43421,17 +43421,39 @@ packages: - type: github_release repo_owner: sachaos repo_name: todoist - description: Todoist CLI Client. I love Todoist and CLI - asset: todoist_{{.OS}}_{{.Arch}} - format: raw - rosetta2: true - supported_envs: - - darwin - - amd64 - version_constraint: semver(">= 0.20.0") + description: Todoist CLI Client. I Todoist and CLI + version_constraint: "false" version_overrides: - - version_constraint: semver("< 0.20.0") + - version_constraint: semver("<= 0.19.0") + asset: todoist_{{.OS}}_{{.Arch}} + format: raw + rosetta2: true + windows_arm_emulation: true complete_windows_ext: false + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: Version == "v0.20.0" + asset: todoist_{{.OS}}_{{.Arch}} + format: raw + windows_arm_emulation: true + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: "true" + asset: todoist_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 - type: github_release repo_owner: sachaos repo_name: toggl