From 2ffd94704222da10661abf5602785e3165afdc41 Mon Sep 17 00:00:00 2001 From: Rodrigo Campos Date: Mon, 21 Aug 2023 17:03:06 +0200 Subject: [PATCH] specs-go: Respect semver 2.0.0 According to semver.org, the 2.0.0 spec, the pre-release info should be delimited by a "-" ("+" is for build info) and we already released 1.1.0, so increment the minor so this version compares to something bigger than 1.1.0. Signed-off-by: Rodrigo Campos --- specs-go/version.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs-go/version.go b/specs-go/version.go index 35358c2c5..9ae4d10e4 100644 --- a/specs-go/version.go +++ b/specs-go/version.go @@ -8,10 +8,10 @@ const ( // VersionMinor is for functionality in a backwards-compatible manner VersionMinor = 1 // VersionPatch is for backwards-compatible bug fixes - VersionPatch = 0 + VersionPatch = 1 // VersionDev indicates development branch. Releases will be empty string. - VersionDev = "+dev" + VersionDev = "-dev" ) // Version is the specification version that the package types support.