diff --git a/README.md b/README.md index dec74fa..aca49ca 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,5 @@ Marshaler and Unmarshaler interfaces. The Go code generator (package wsdlgo) is capable of importing remote parts of the WSDL via HTTP. You can configure its http.Client to support -authentication and self-signed certificates. +authentication and self-signed certificates. Once the code is generated +it invokes gofmt from $GOROOT/bin/gofmt. Will have if you don't have it. diff --git a/contrib/release.sh b/contrib/release.sh index eab651b..9f25d46 100644 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -5,5 +5,11 @@ VERSION=${VERSION:-`git describe --tags`} for OS in linux freebsd windows darwin do GOOS=$OS GOARCH=amd64 go build -ldflags "-w -X main.version=${VERSION}" - tar czf wsdl2go-$VERSION-$OS-amd64.tar.gz wsdl2go* + TARBALL=wsdl2go-$VERSION-$OS-amd64.tar.gz + if [ "$OS" = "windows" ]; then + tar czf $TARBALL wsdl2go.exe + else + tar czf $TARBALL wsdl2go + fi + rm -f wsdl2go wsdl2go.exe done