github.com/goreleaser/releaser@v0.92.0/internal/testlib/git_test.go (about)

     1  package testlib
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestGit(t *testing.T) {
     8  	_, back := Mktmp(t)
     9  	defer back()
    10  	GitInit(t)
    11  	GitAdd(t)
    12  	GitCommit(t, "commit1")
    13  	GitRemoteAdd(t, "git@github.com:goreleaser/nope.git")
    14  	GitTag(t, "v1.0.0")
    15  }