Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Drop the build part from the SemVer to get rid of the "+"
Docker tags do not support "+" as part of their name [1], so turn e.g. "3.0.1-SNAPSHOT+003.sha.cc0865e" into "3.0.1-003.sha.cc0865e" by using the build part as the pre-release part. SemVer sorting rules [2] are still so that 3.0.1-003.sha.cc0865e < 3.0.1. [1]: moby/moby#16304 [2]: https://semver.org/#spec-item-11 Signed-off-by: Sebastian Schuberth <[email protected]>
- Loading branch information