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 212a9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix_update/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 212a9e0

Please sign in to comment.