This change ensures that Stack semantic version numbers specified in Mufiles are correct. Note that we do not accept ranges for the version number itself, although obviously when checking dependencies we will permit it.
17 lines
406 B
Go
17 lines
406 B
Go
// Copyright 2016 Marapongo, Inc. All rights reserved.
|
|
|
|
package errors
|
|
|
|
import (
|
|
"github.com/marapongo/mu/pkg/diag"
|
|
)
|
|
|
|
var MissingStackName = &diag.Diag{
|
|
ID: 200,
|
|
Message: "This Stack is missing a `name` property (or it is empty)",
|
|
}
|
|
|
|
var IllegalStackSemVer = &diag.Diag{
|
|
ID: 1502,
|
|
Message: "This Stack's version '%v' is not a valid semantic version number (note: it may not be a range)",
|
|
}
|