forked from coop-cloud/abra
docs: explain tags
This commit is contained in:
parent
8d499c0810
commit
3589a7d56e
|
@ -60,7 +60,20 @@ You may invoke this command in "wizard" mode and be prompted for input:
|
||||||
|
|
||||||
nextTag := c.Args().Get(1)
|
nextTag := c.Args().Get(1)
|
||||||
if len(tags) == 0 && nextTag == "" {
|
if len(tags) == 0 && nextTag == "" {
|
||||||
logrus.Warnf("no tags found for %s", recipe.Name)
|
logrus.Warnf("no git tags found for %s", recipe.Name)
|
||||||
|
fmt.Println(fmt.Sprintf(`
|
||||||
|
The following options are two types of initial version that you can pick for
|
||||||
|
the first published version of %s that will be in the recipe catalogue. This
|
||||||
|
follows the semver convention (more on semver.org), here is a short cheatsheet
|
||||||
|
|
||||||
|
0.1.0 -> development release, still hacking
|
||||||
|
1.0.0 -> public release, assumed to be working
|
||||||
|
|
||||||
|
In other words, if you want people to be able alpha test your current config
|
||||||
|
for %s but don't think it is quite ready and reliable, go with 0.1.0 and people
|
||||||
|
will know that things are likely to change.
|
||||||
|
|
||||||
|
`, recipe.Name, recipe.Name))
|
||||||
var chosenVersion string
|
var chosenVersion string
|
||||||
edPrompt := &survey.Select{
|
edPrompt := &survey.Select{
|
||||||
Message: "which version do you want to begin with?",
|
Message: "which version do you want to begin with?",
|
||||||
|
|
Loading…
Reference in New Issue