From 456ba8dec946bd589755c542291fb7ef199d2b27 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 31 May 2024 23:26:24 +0200 Subject: [PATCH] unstableGitUpdater: Remove bitrotten comment about hardcodeZeroVersion on tag-less projects The behaviour this refers to was changed since then, unstableGitUpdater now automatically falls back to 0 when there are no previous tags. --- pkgs/common-updater/unstable-updater.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/common-updater/unstable-updater.nix b/pkgs/common-updater/unstable-updater.nix index d7a9c73fbc2d..e6981f633534 100644 --- a/pkgs/common-updater/unstable-updater.nix +++ b/pkgs/common-updater/unstable-updater.nix @@ -14,7 +14,7 @@ { url ? null # The git url, if empty it will be set to src.gitRepoUrl , branch ? null -, hardcodeZeroVersion ? false # Use a made-up version "0" instead of latest tag. Use when there is no previous release, or the project's tagging system is incompatible with what we expect from versions +, hardcodeZeroVersion ? false # Use a made-up version "0" instead of latest tag. Use when the project's tagging system is incompatible with what we expect from versions , tagFormat ? "*" # A `git describe --tags --match ''` pattern that tags must match to be considered , tagPrefix ? null # strip this prefix from a tag name , tagConverter ? null # A command to convert more complex tag formats. It receives the git tag via stdin and should convert it into x.y.z format to stdout