Skip to content

soar self update not working #65

@00sapo

Description

@00sapo

Problem

It just does nothing.

For me:

❯ soar self update -v
[DEBUG] Executable path: /home/federico/.local/bin/soar
[DEBUG] Current version: 0.6.1
[DEBUG] Checking release: v0.6.2, Release Channel: stable
[DEBUG] Comparing versions: release_ver=0.6.2, self_ver=0.6.1, should_update=true
Found new update: v0.6.2
[DEBUG] Selected asset: soar-x86_64-linux
[DEBUG] Downloading update from: https://github.com/pkgforge/soar/releases/download/v0.6.2/soar-x86_64-linux
Soar updated to v0.6.2

❯ soar -V
soar-cli 0.6.1

❯ curl -fsSL "https://raw.githubusercontent.com/pkgforge/soar/main/install.sh" | SOAR_VERSION=0.6.2 sh
Downloading Soar... <== https://github.com/pkgforge/soar/releases/download/v0.6.2/soar-x86_64-linux
[+] Using curl -fSL -o
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 8090k  100 8090k    0     0  11.0M      0 --:--:-- --:--:-- --:--:-- 11.0M
soar-cli 0.6.2

✓ Soar has been installed to: /home/federico/.local/bin/soar
ⓘ Documentation: https://soar.qaidvoid.dev
ⓘ Discord: https://docs.pkgforge.dev/contact/chat
ⓘ External Repositories are NOT Enabled by default
ⓘ Learn More: https://docs.pkgforge.dev/repositories/external
ⓘ To enable external repos, Run: soar defconfig --external
ⓘ Finally, To synchronize all repos, Run: soar sync

⚠ /home/federico/.local/share/soar/bin is NOT in your $PATH
ⓘ Put this in your SHELL/Profile:

 export PATH="$PATH:/home/federico/.local/bin:/home/federico/.local/share/soar/bin"


ⓘ Current Soar Configuration:

SOAR_CONFIG=/home/federico/.config/soar/config.toml
SOAR_BIN=/home/federico/.local/share/soar/bin
SOAR_DB=/home/federico/.local/share/soar/db
SOAR_CACHE=/home/federico/.local/share/soar/cache
SOAR_PACKAGES=/home/federico/.local/share/soar/packages
SOAR_REPOSITORIES=/home/federico/.local/share/soar/repos


❯ soar -V
soar-cli 0.6.2

Steps to reproduce

curl -fsSL "https://raw.githubusercontent.com/pkgforge/soar/main/install.sh" | SOAR_VERSION=0.6.1 sh
soar self update
soar -V

Expected behavior

It should update

Soar version (soar -V)

soar-cli 0.6.1 (can't test with 0.6.2 because there is no further update)

Operating system (if issue is related to OS)

Debian 12

Installation

curl + sh

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions