Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nushell",
"version": "0.105.1",
"revision": 2,
"version": "0.106.0",
"revision": 0,
"pkgs": {
"deb": true,
"rpm": true,
Expand All @@ -13,4 +13,4 @@
"github": "https://github.com/nushell/nushell",
"home": "https://www.nushell.sh",
"description": "A new type of shell."
}
}
4 changes: 2 additions & 2 deletions nu/release.nu
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export def 'fetch release' [
amd64: 'x86_64-unknown-linux-musl',
arm64: 'aarch64-unknown-linux-musl',
riscv64: 'riscv64gc-unknown-linux-gnu',
loongarch64: 'loongarch64-unknown-linux-gnu',
loongarch64: 'loongarch64-unknown-linux-musl',
}
if $arch not-in $ARCH_MAP {
print $'Invalid architecture: (ansi r)($arch)(ansi reset)'; exit 1
Expand Down Expand Up @@ -110,7 +110,7 @@ export def 'push pkg' [
] {
# Normalize architecture based on alias map if needed
let normalized_arch = if $type in [apk, rpm] {
$ARCH_ALIAS_MAP | get -i $arch | default $arch
$ARCH_ALIAS_MAP | get -o $arch | default $arch
} else { $arch }

# Get package file based on architecture and type
Expand Down
4 changes: 2 additions & 2 deletions nu/tests.nu
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ export def compare-ver [v1: string, v2: string] {
# If you want to compare more parts use the following code:
# for i in 0..([2 ($a | length) ($b | length)] | math max)
for i in 0..2 {
let x = $a | get -i $i | default 0
let y = $b | get -i $i | default 0
let x = $a | get -o $i | default 0
let y = $b | get -o $i | default 0
if $x > $y { return 1 }
if $x < $y { return (-1) }
}
Expand Down
Loading