diff --git a/cmd/publish.go b/cmd/publish.go index 96ca217..5ccdf24 100644 --- a/cmd/publish.go +++ b/cmd/publish.go @@ -40,7 +40,7 @@ var publishCmd = &cobra.Command{ lastTag, err := repo.PreviousTag(currentCommit.Hash) - if err != nil { + if err != nil && err != history.ErrPrevTagNotAvailable { return err }