1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/internal/testlib/git_test.go
Carlos Alexandro Becker f643b33bda
git on testlib
2017-07-23 16:42:17 -03:00

16 lines
230 B
Go

package testlib
import (
"testing"
)
func TestGit(t *testing.T) {
_, back := Mktmp(t)
defer back()
GitInit(t)
GitAdd(t)
GitCommit(t, "commit1")
GitRemoteAdd(t, "git@github.com:goreleaser/nope.git")
GitTag(t, "v1.0.0")
}