feat: tag recipes with abra #99
@ -76,14 +76,6 @@ var recipeReleaseCommand = &cli.Command{
|
||||
}
|
||||
|
||||
if tagstring != "" {
|
||||
repo, err := git.PlainOpen(directory)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
head, err := repo.Head()
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
if Dry {
|
||||
logrus.Info(fmt.Sprintf("Dry run only. NOT creating tag %s at %s", tagstring, head.Hash()))
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user