Skip to content

Commit

Permalink
fix: crash on OSI full release definition
Browse files Browse the repository at this point in the history
Avoid crash on server side when defining the full release of OSI builds
due to concatenation with incompatible types.

Fix #101
  • Loading branch information
rezib committed May 15, 2023
1 parent 04ec58a commit 53443f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix crash on client side when loading artifact definition for OSI builds
(#100).
- Fix crash due to concatation with incompatible types when defining the full
release for OSI build on server side (#101).

## [2.0.0] - 2023-05-05

Expand Down
4 changes: 2 additions & 2 deletions fatbuildr/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ class ArtifactOsiDefs(ArtifactFormatDefs):
@property
def release(self):
"""The release number is not expected in definition file for osi format,
then return hard-coded default value 0."""
return 0
then return hard-coded default value 0 as a string."""
return '0'


class ArtifactDefsFactory:
Expand Down

0 comments on commit 53443f6

Please sign in to comment.