MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.79k stars 496 forks source link

dietpi-dashboard installs older version then whats available #7178

Open mews-se opened 1 month ago

mews-se commented 1 month ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. install nightly version of dietpi dashboard. installed version is v0.6.1-527-g9ea6873
  2. version 0.6.2 is available but unable to update

Expected behaviour

Actual behaviour

Joulinar commented 1 month ago

Using stable branch should install v0.6.2

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing DietPi-Dashboard: Official lightweight DietPi web interface (Rust)

[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[  OK  ] DietPi-Software | curl -sSfL https://github.com/ravenclaw900/DietPi-Dashboard/releases/download/v0.6.2/dietpi-dashboard-x86_64 -o dietpi-dashboard-x86_64
[  OK  ] DietPi-Software | mkdir -p /opt/dietpi-dashboard
[  OK  ] DietPi-Software | mv dietpi-dashboard-x86_64 /opt/dietpi-dashboard/dietpi-dashboard
[  OK  ] DietPi-Software | chmod +x /opt/dietpi-dashboard/dietpi-dashboard
[  OK  ] DietPi-Software | curl -sSfL https://raw.githubusercontent.com/ravenclaw900/DietPi-Dashboard/v0.6.2/config.toml -o /opt/dietpi-dashboard/config.toml
MichaIng commented 1 month ago

Yeah, I am also not sure why, but the nightly version is tagged v0.6.1. But it is newer than the v0.6.2 release.

ravenclaw900 commented 1 month ago

It's because 0.6.2 was a hotfix version, so it wasn't built from the main branch, but its own branch as a slightly modified version of 0.6.1. The nightly version names are derived from the releases on the main branch only. The nightly version is still the latest, despite the slightly confusing naming.