diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 4ff29161..686b9e4a 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -57,7 +57,4 @@ jobs: - name: Run e2e run: | - os=${OSTYPE//[0-9.]/} - echo $os - make e2e-test diff --git a/hack/run-e2e.sh b/hack/run-e2e.sh index 578aba01..226b67e7 100755 --- a/hack/run-e2e.sh +++ b/hack/run-e2e.sh @@ -11,11 +11,7 @@ set -o pipefail GO111MODULE=on go install github.com/onsi/ginkgo/v2/ginkgo@v2.0.0 # Check OS type. -os=${OSTYPE//[0-9.]/} - -echo $os - -if [[ $os == "windows" ]]; then +if [[ $OSTYPE == "" ]]; then # Build kusion binary on Windows go generate ./pkg/version go build -o bin/kusion.exe .