mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
16 lines
230 B
Go
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")
|
|
}
|