diff --git a/ci/deploy.yml b/ci/deploy.yml index cc623946d9..467a3fa223 100644 --- a/ci/deploy.yml +++ b/ci/deploy.yml @@ -82,6 +82,46 @@ release legacy fw btconly deploy: tags: - deploy +release core fw regular debug deploy: + stage: deploy + variables: + DEPLOY_DIRECTORY: "releases/firmwares" + before_script: [] # no pipenv + dependencies: + - core fw regular debug build + script: + - export VERSION=$(./tools/version.sh core/embed/firmware/version.h) + - export NAME="trezor-fw-regular-debug-$VERSION-$CI_COMMIT_SHORT_SHA.bin" + - echo "Deploying to ${DEPLOY_DIRECTORY}/$NAME" + - mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}" + - rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME" + only: + - /^core\// + except: + - branches # run for tags only + tags: + - deploy + +release legacy fw debug deploy: + stage: deploy + variables: + DEPLOY_DIRECTORY: "releases/firmwares" + before_script: [] # no pipenv + dependencies: + - legacy fw debug build + script: + - export VERSION=$(./tools/version.sh legacy/firmware/version.h) + - export NAME="trezor-fw-regular-debug-$VERSION-$CI_COMMIT_SHORT_SHA.bin" + - echo "Deploying to ${DEPLOY_DIRECTORY}/$NAME" + - mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}" + - rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME" + only: + - /^legacy\// + except: + - branches # run for tags only + tags: + - deploy + # Release candidates