Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw committed Jan 8, 2024
1 parent b8ca825 commit 239f710
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ commands:
command: |
git rev-parse --short HEAD > GIT_SHA
export PYTHONHASHSEED=42
export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7)
export BUILD_FILE_NAME=<< parameters.build_file_name >>-${CIRCLE_SHORT_SHA1}-<< parameters.os_name >>-<< parameters.os_arch >>
mkdir $BUILD_FILE_NAME
poetry run pyinstaller --distpath ./$BUILD_FILE_NAME ./operator.spec
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
name: Build executable for Windows
command: |
$PYTHONHASHSEED = 42
$CIRCLE_SHORT_SHA1 = $env:CIRCLE_SHA1.substring(0,7)
$BUILD_FILE_NAME = "operator-" + $CIRCLE_SHORT_SHA1 + "-windows-amd64"
mkdir $BUILD_FILE_NAME
pyinstaller --distpath ./$BUILD_FILE_NAME ./operator.spec
Expand Down

0 comments on commit 239f710

Please sign in to comment.