From 7016391893ac783e97866cc687abed7feba45a37 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Thu, 31 Oct 2019 12:39:26 +0000 Subject: [PATCH] ci: add artifacts to legacy fw debug build --- ci/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ci/build.yml b/ci/build.yml index 2103448a4a..4466150af2 100644 --- a/ci/build.yml +++ b/ci/build.yml @@ -191,6 +191,14 @@ legacy fw debug build: script: - cd legacy - pipenv run script/cibuild + - cd .. + - export VERSION=$(./tools/version.sh legacy/firmware/version.h) + - mv legacy/firmware/trezor.bin trezor-fw-regular-debug-$VERSION-$CI_COMMIT_SHORT_SHA.bin + artifacts: + name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" + paths: + - trezor-fw-regular-debug-*.*.*-$CI_COMMIT_SHORT_SHA.bin + expire_in: 1 week legacy fw btconly build: stage: build