1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

improved error msg

This commit is contained in:
Carlos Alexandro Becker 2017-01-21 19:14:02 -02:00
parent 5539515057
commit 8269a4f772
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -13,7 +13,7 @@ import (
// ErrDirty happens when the repo has uncommitted/unstashed changes
var ErrDirty = errors.New("git is currently in a dirty state, commit or stash your changes to continue")
var ErrWrongRef = errors.New("current tag ref is different from HEAD ref")
var ErrWrongRef = errors.New("current tag ref is different from HEAD ref, checkout the latest tag to continue")
// Pipe to make sure we are in the latest Git tag as source.
type Pipe struct{}