mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
92f52ac406
* refactor: use t.Cleanup instead of defer Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * refactor: use t.Cleanup instead of defer Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * refactor: use t.Cleanup instead of defer Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * refactor: use t.Cleanup instead of defer Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: filepath Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
15 lines
210 B
Go
15 lines
210 B
Go
package testlib
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestGit(t *testing.T) {
|
|
TestMkTemp(t)
|
|
GitInit(t)
|
|
GitAdd(t)
|
|
GitCommit(t, "commit1")
|
|
GitRemoteAdd(t, "git@github.com:goreleaser/nope.git")
|
|
GitTag(t, "v1.0.0")
|
|
}
|