diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a66306f..71289fd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -74,6 +74,9 @@ jobs: GOOS=${GOOSARCH%/*} GOARCH=${GOOSARCH#*/} BINARY_NAME=$(basename $GITHUB_REPOSITORY)-$GOOS-$GOARCH + if [[ "$GOOS" == "windows" ]]; then + BINARY_NAME=$BINARY_NAME.exe + fi echo "BINARY_NAME=$BINARY_NAME" | tee -a $GITHUB_ENV echo "GOOS=$GOOS" | tee -a $GITHUB_ENV echo "GOARCH=$GOARCH" | tee -a $GITHUB_ENV