Skip to content

Commit a67ba21

Browse files
committed
Add CurrentVersion to spec
This change adds a CurrentVersion constant to the spec. This allows clients who generate specs to use this instead of hardcoding it themselves. Signed-off-by: Evan Lezar <[email protected]>
1 parent ee12044 commit a67ba21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

specs-go/config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ package specs
22

33
import "os"
44

5+
// CurrentVersion is the current version of the Spec.
6+
const CurrentVersion = "0.2.0"
7+
58
// Spec is the base configuration for CDI
69
type Spec struct {
710
Version string `json:"cdiVersion"`

0 commit comments

Comments
 (0)