-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add version parsing check skip malformed versions and avoid panic (#1469
) * Add version parsing check skip malformed versions and avoid panic Signed-off-by: Anton Troshin <[email protected]> * lint Signed-off-by: Anton Troshin <[email protected]> * do not return error on nil, skip bad versions Signed-off-by: Anton Troshin <[email protected]> * simplify condition to skip prerelease and versions with metadata print warning on error and non-semver version tag Signed-off-by: Anton Troshin <[email protected]> --------- Signed-off-by: Anton Troshin <[email protected]>
- Loading branch information
1 parent
6d5e64d
commit 25d9ece
Showing
2 changed files
with
58 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters