From d19a46aba1b1b9b0f38393999afa2e6f17883e74 Mon Sep 17 00:00:00 2001 From: Alexander Sysoev Date: Sun, 12 Feb 2023 16:10:13 +0300 Subject: [PATCH] Release: Fix windows command (#31) Signed-off-by: cyc60 --- .github/workflows/release.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d9d0bd52..b14d144a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -64,16 +64,16 @@ jobs: $BUILD_FILE_NAME = "operator-" + $RELEASE_VERSION + "-windows-amd64" $BUILD_FILE_NAME_PATH = ".\" + $BUILD_FILE_NAME git rev-parse --short HEAD > GIT_SHA - poetry run pyinstaller \ - --onefile \ - --hidden-import multiaddr.codecs.uint16be \ - --hidden-import multiaddr.codecs.idna \ - --collect-data src \ - --add-data "./src/common/abi;src/common/abi/" \ - --add-data "./pyproject.toml;." \ - --add-data "./GIT_SHA;." \ - --name operator \ - --distpath ./${BUILD_FILE_NAME} \ + poetry run pyinstaller ` + --onefile ` + --hidden-import multiaddr.codecs.uint16be ` + --hidden-import multiaddr.codecs.idna ` + --collect-data src ` + --add-data "./src/common/abi;src/common/abi/" ` + --add-data "./pyproject.toml;." ` + --add-data "./GIT_SHA;." ` + --name operator ` + --distpath ./${BUILD_FILE_NAME} ` ./src/main.py; $ZIP_FILE_NAME = $BUILD_FILE_NAME + ".zip" Compress-Archive -Path $BUILD_FILE_NAME_PATH -DestinationPath $ZIP_FILE_NAME