-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes two things: * If the slice with tags is empty, it will exit with an error. This should help detect issues with wrong urls. * If current tag is the latest one, it will return the exact same tag. Not a semver representation of it. The second point avoids issues if there is a tag v1.0 of an image, but no tag v1.0.0. As the semver representation will always contain three parts for the version.
- Loading branch information
Showing
2 changed files
with
11 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