Skip to content

Commit

Permalink
Release: Fix windows command (#31)
Browse files Browse the repository at this point in the history
Signed-off-by: cyc60 <avsysoev60@gmail.com>
  • Loading branch information
cyc60 authored Feb 12, 2023
1 parent 284facf commit d19a46a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d19a46a

Please sign in to comment.