Skip to content

Commit

Permalink
Fixes alisw#887 by raising an informative exception when version is n…
Browse files Browse the repository at this point in the history
…ot a string (e.g., float).
  • Loading branch information
maxim.borisyak committed Nov 21, 2024
1 parent 8c6ce17 commit 937718e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alibuild_helpers/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def resolve_version(spec, defaults, branch_basename, branch_stream):
version=version
)
)
return spec["version"] % {
return version % {
"commit_hash": commit_hash,
"short_hash": commit_hash[0:10],
"tag": tag,
Expand Down

0 comments on commit 937718e

Please sign in to comment.