2026-03-26 17:41:53 +00:00
|
|
|
package release
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"testing"
|
|
|
|
|
|
2026-04-15 11:50:20 +01:00
|
|
|
"dappco.re/go/build/internal/ax"
|
2026-03-26 17:41:53 +00:00
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func runGit(t *testing.T, dir string, args ...string) {
|
|
|
|
|
t.Helper()
|
|
|
|
|
require.NoError(t, ax.ExecDir(context.Background(), dir, "git", args...))
|
|
|
|
|
}
|