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

16 lines
230 B
Go
Raw Normal View History

2017-07-23 21:42:09 +02:00
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")
}