1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-03 13:11:48 +02:00

added doc

This commit is contained in:
Carlos Alexandro Becker 2017-01-21 19:33:30 -02:00
parent 178e821e43
commit 54708f9005
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -13,6 +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")
// 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")
// Pipe to make sure we are in the latest Git tag as source.