1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-09-16 09:26:52 +02:00

added doc

This commit is contained in:
Carlos Alexandro Becker
2017-01-21 19:33:30 -02:00
parent 178e821e43
commit 54708f9005

View File

@@ -13,6 +13,7 @@ import (
// ErrDirty happens when the repo has uncommitted/unstashed changes // 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 ErrDirty = errors.New("git is currently in a dirty state, commit or stash your changes to continue")
// ErrWrongRef happens when the HEAD reference is different from the tag being built
var ErrWrongRef = errors.New("current tag ref is different from HEAD ref, checkout the latest tag to continue") 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. // Pipe to make sure we are in the latest Git tag as source.