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