ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.54k stars 918 forks source link

[Bug]: nu is still at version 0.93.0 although 0.94.2 is the latest release #5894

Open pfmoore opened 2 weeks ago

pfmoore commented 2 weeks ago

Prerequisites

Package Name

nu

Expected/Current Behaviour

The available version is 0.93.0, but 0.94.2 is available on the nushell github releases page.

Steps to Reproduce

❯ scoop info nu

Name        : nu
Description : A modern shell written in Rust
Version     : 0.93.0
Bucket      : main
Website     : https://www.nushell.sh
License     : MIT
Updated at  : 01/05/2024 22:10:34
Updated by  : github-actions[bot]

Possible Solution

The autoupdate string in the bucket json file seems to be wrong:

    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/nushell/nushell/releases/download/$version/nu-$version-x86_64-windows-msvc-full.zip"
            },

The correct URL is https://github.com/nushell/nushell/releases/download/$version/nu-$version-x86_64-pc-windows-msvc-full.zip. It looks like the format changed in 0.94.0.

Scoop and Buckets Version

❯ scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
834f4d840 (HEAD -> master, origin/master, origin/HEAD) nodejs@22.2.0: Fix hash (Closes #5893)

'extras' bucket:
fd4932e97 (HEAD -> master, origin/master, origin/HEAD) stirling-pdf: Update to version 0.25.3

'versions' bucket:
7880a512c (HEAD -> master, origin/master, origin/HEAD) vscode-insiders: Update to version 1.91.0-insider+1717746651462

'java' bucket:
22628523 (HEAD -> master, origin/master, origin/HEAD) temurin17-nightly-jre: Update to version 17.0.12-5.0.ea

'enk' bucket:
964bf0f (HEAD -> master, origin/master, origin/HEAD) uv 0.2.9

Scoop Config

❯ scoop config

last_update         scoop_repo                           scoop_branch
-----------         ----------                           ------------
07/06/2024 15:03:23 https://github.com/lukesampson/scoop master

PowerShell Version

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

Additional Softwares

No response

Tyarel8 commented 2 weeks ago

There is already a PR waiting to be merged with the fix #5875

pfmoore commented 2 weeks ago

Thanks, I hadn't spotted that when I did a search.