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:
parent
6657134bd8
commit
1532c96b0e
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user