Skip to content

Commit

Permalink
fix: new version for package with update script when using tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gepbird committed Dec 23, 2024
1 parent d633295 commit 34735f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nix_update/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 34735f2

Please sign in to comment.