diff --git a/nix_update/update.py b/nix_update/update.py index c0894a2..08ba061 100644 --- a/nix_update/update.py +++ b/nix_update/update.py @@ -496,7 +496,7 @@ 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