From 34735f200d91c5430a6019ff82bf3bbf9a3b23ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Mon, 23 Dec 2024 18:10:22 +0100 Subject: [PATCH] fix: new version for package with update script when using tag --- nix_update/update.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nix_update/update.py b/nix_update/update.py index c0894a2..2265985 100644 --- a/nix_update/update.py +++ b/nix_update/update.py @@ -496,7 +496,9 @@ def update(opts: Options) -> Package: ) new_package = eval_attr(opts) - package.new_version = Version(new_package.old_version, rev=new_package.rev) + package.new_version = Version( + new_package.old_version, rev=new_package.rev, tag=new_package.tag + ) return package