github.com/joselitofilho/goreleaser@v0.155.1-0.20210123221854-e4891856c593/internal/testlib/git_test.go (about) 1 package testlib 2 3 import ( 4 "testing" 5 ) 6 7 func TestGit(t *testing.T) { 8 TestMkTemp(t) 9 GitInit(t) 10 GitAdd(t) 11 GitCommit(t, "commit1") 12 GitRemoteAdd(t, "git@github.com:goreleaser/nope.git") 13 GitTag(t, "v1.0.0") 14 }