From 6214156c3553e37b4d6d2003d00d1117e96cf4f6 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Thu, 11 Feb 2021 08:25:24 +0100 Subject: [PATCH] fix(ci): strip commit version for emulator releases trezor-user-env can't work with that --- ci/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/deploy.yml b/ci/deploy.yml index ab6db5dd9..cad3e42a5 100644 --- a/ci/deploy.yml +++ b/ci/deploy.yml @@ -184,7 +184,7 @@ release core unix debug deploy: - core unix frozen debug build script: - export VERSION=$(./tools/version.sh core/embed/firmware/version.h) - - DEST="$DEPLOY_PATH/trezor-emu-core-$VERSION-$CI_COMMIT_SHORT_SHA" + - DEST="$DEPLOY_PATH/trezor-emu-core-v$VERSION" - echo "Deploying to $DEST" - nix-shell -p patchelf --run "patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 core/build/unix/trezor-emu-core" - rsync --delete -va core/build/unix/trezor-emu-core "$DEST" @@ -205,7 +205,7 @@ release legacy unix debug deploy: - legacy emu regular debug build script: - export VERSION=$(./tools/version.sh legacy/firmware/version.h) - - DEST="$DEPLOY_PATH/trezor-emu-legacy-$VERSION-$CI_COMMIT_SHORT_SHA" + - DEST="$DEPLOY_PATH/trezor-emu-legacy-v$VERSION" - echo "Deploying to $DEST" - nix-shell -p patchelf --run "patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 legacy/firmware/trezor.elf" - rsync --delete -va legacy/firmware/trezor.elf "$DEST"