From 8269a4f7723d2cb3a0f0cb7ddef07c93cb62afa5 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sat, 21 Jan 2017 19:14:02 -0200 Subject: [PATCH] improved error msg --- pipeline/source/source.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/source/source.go b/pipeline/source/source.go index b3d22577e..71e1ff1c3 100644 --- a/pipeline/source/source.go +++ b/pipeline/source/source.go @@ -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{}