1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

core+legacy: remove tag automagic from build scripts

This commit is contained in:
Pavol Rusnak 2019-04-25 16:56:54 +02:00
parent 6657134bd8
commit 1532c96b0e
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 1 additions and 12 deletions

View File

@ -11,11 +11,7 @@ else
fi
IMAGE=trezor-core-build.$TOOLCHAIN_FLAVOR
if [ -z "$1" ]; then
TAG=master
else
TAG=core/${1}
fi
TAG=${1:-master}
REPOSITORY=${2:-trezor}
PRODUCTION=${PRODUCTION:-0}

View File

@ -88,13 +88,6 @@ main() {
local bootloader_commit="$1"
local firmware_commit="$2"
if [ "$bootloader_commit" != "HEAD" ]; then
bootloader_commit="legacy/$bootloader_commit"
fi
if [ "$firmware_commit" != "HEAD" ]; then
firmware_commit="legacy/$firmware_commit"
fi
worktree_setup "$FIRMWARE_DIR" "$firmware_commit"
if [ "$EMULATOR" != 1 ]; then