Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw committed Jan 8, 2024
1 parent 537d1b7 commit b8ca825
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ commands:
command: |
git rev-parse --short HEAD > GIT_SHA
export PYTHONHASHSEED=42
export BUILD_FILE_NAME=<< parameters.build_file_name >>-<< parameters.os_name >>-amd64
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
tar -zcvf $BUILD_FILE_NAME.tar.gz $BUILD_FILE_NAME
Expand All @@ -52,8 +52,9 @@ jobs:
poetry install --no-root --no-interaction
- build_and_compress:
os_name: linux
os_arch: amd64
python_version: "3.10.13"
build_file_name: operator-${CIRCLE_SHORT_SHA1}
build_file_name: operator
- store_artifacts:
path: /tmp/artifacts

Expand All @@ -69,8 +70,9 @@ jobs:
poetry install --no-root --no-interaction
- build_and_compress:
os_name: linux
os_arch: arm64
python_version: "3.10.13"
build_file_name: operator-${CIRCLE_SHORT_SHA1}-arm64
build_file_name: operator
- store_artifacts:
path: /tmp/artifacts

Expand All @@ -89,8 +91,9 @@ jobs:
python3 -m poetry install --no-interaction --no-root;
- build_and_compress:
os_name: macos
os_arch: amd64
python_version: "3.10.13"
build_file_name: operator-${CIRCLE_SHORT_SHA1}
build_file_name: operator
- store_artifacts:
path: /tmp/artifacts

Expand Down

0 comments on commit b8ca825

Please sign in to comment.