versioning

package
v0.0.0-...-ce22054 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package versioning is used to handle SemVer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindHighestSemVer

func FindHighestSemVer(versions []string) (string, error)

FindHighestSemVer finds the highest version according to the SemVer spec It is tolerant to versions, it will try to make it a proper version if it is not completely SemVer Note that build numbers are ignored and it will take the last one in the array, this might be lower build number The versions which can't be parsed will be skipped

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL