fix: avoid pinVersion regression from upstream placeholder version

Upstream main declares [project] version 0.0.0 between releases, which made
the nightly pin regress from 0.21.4 to 0.0.0. Fall back to the latest release
tag's version when the HEAD version is the placeholder, and correct the
current candidate's pinVersion to match. Factor the pyproject version lookup
into update-common.sh so both channels share one implementation.
This commit is contained in:
pullfrog[bot] 2026-09-29 18:52:23 +00:00
commit 5c79db5b06
4 changed files with 27 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Auto-updated by scripts/update-nightly.sh — do not edit manually.
{ pkgs }:
pkgs.callPackage ./package.nix {
pinVersion = "0.0.0-unstable-2026-09-29.536802c0";
pinVersion = "0.21.5-unstable-2026-09-29.536802c0";
pinRev = "536802c00e4f93061fc46b134dc029ff695f364f";
pinHash = "sha256-5IdY6zQjaGCWkz2Mg8UT2a2VZ+6RH1xsL2gI9VjRQg4=";
}