Skip to content

[Bug]: godots failing to update #17849

@shiena

Description

@shiena

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

godots

Expected/Current Behaviour

Expected Behaviour

checkver should detect the latest release v1.4.1.stable and auto-update the version field to 1.4.1, so the v$version.stable URL template defined in autoupdate resolves correctly to the published asset.

Current Behaviour

Excavate (scoop's checkver running in CI) fails with the following error:

godots: couldn't match '/releases/tag/(?:v|V)?([\d.]+[\d]+)' in https://api.github.com/repos/MakovWait/godots/releases/latest

Steps to Reproduce

  1. Clone the bucket and ensure scoop is installed.
  2. Set GITHUB_TOKEN to a valid token (to reproduce the CI code path that uses the GitHub API): $env:GITHUB_TOKEN = ''
  3. Run checkver against the godots manifest:
    & "$(scoop prefix scoop)\bin\checkver.ps1" -App godots -Dir .\bucket
  4. Observe the error:
    godots: couldn't match '/releases/tag/(?:v|V)?([\d.]+[\d]+)' in https://api.github.com/repos/MakovWait/godots/releases/latest

Possible Solution

Drop the /releases/tag/ prefix from the checkver regex and anchor the match on the .stable suffix instead, so it matches both the
tag_name string returned by the GitHub API (v1.4.1.stable) and any /releases/tag/v1.4.1.stable occurrence in the HTML page when checkver runs without a token.

       "checkver": {
           "github": "https://github.com/MakovWait/godots",
  -        "regex": "/releases/tag/(?:v|V)?([\\d.]+[\\d]+)"
  +        "regex": "(?:v|V)?([\\d.]+[\\d]+)\\.stable"
       },

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
b588a06e (HEAD -> master, tag: v0.5.3, origin/master, origin/HEAD) chore(release): Bump to version 0.5.3 (resync) (#6436)

'main' bucket:
7863435bf7 (HEAD -> master, origin/master, origin/HEAD) supabase: Update to version 2.101.0

'extras' bucket:
c061a25930 (HEAD -> master, origin/master, origin/HEAD) vivaldi: Update to version 8.0.4033.26

'versions' bucket:
142acbdd87 (HEAD -> master, origin/master, origin/HEAD) bun1.3: Add version 1.3.14 (#2866)

'java' bucket:
f88a8394 (HEAD -> master, origin/master, origin/HEAD) dragonwell8-jdk: Update to version 8.29.28-8.0.492

Scoop Config

PS> scoop config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------
2026/05/21 21:02:08 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.6.1
PSEdition                      Core
GitCommitId                    7.6.1
OS                             Microsoft Windows 10.0.26200
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    package-update-requestRequest for updating an existing package (Version Bump / Rename).

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions