You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-17 01:42:37 +02:00
logs for travis debugging
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
package git
|
package git
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
@ -81,7 +82,9 @@ func createAndChdir(t *testing.T) (current string, back func()) {
|
|||||||
previous, err := os.Getwd()
|
previous, err := os.Getwd()
|
||||||
assert.NoError(err)
|
assert.NoError(err)
|
||||||
assert.NoError(os.Chdir(folder))
|
assert.NoError(os.Chdir(folder))
|
||||||
|
fmt.Println("Changed dir to", folder)
|
||||||
return folder, func() {
|
return folder, func() {
|
||||||
assert.NoError(os.Chdir(previous))
|
assert.NoError(os.Chdir(previous))
|
||||||
|
fmt.Println("Changed dir to", previous)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user