mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 01:18:28 +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
|
fi
|
||||||
|
|
||||||
IMAGE=trezor-core-build.$TOOLCHAIN_FLAVOR
|
IMAGE=trezor-core-build.$TOOLCHAIN_FLAVOR
|
||||||
if [ -z "$1" ]; then
|
TAG=${1:-master}
|
||||||
TAG=master
|
|
||||||
else
|
|
||||||
TAG=core/${1}
|
|
||||||
fi
|
|
||||||
REPOSITORY=${2:-trezor}
|
REPOSITORY=${2:-trezor}
|
||||||
PRODUCTION=${PRODUCTION:-0}
|
PRODUCTION=${PRODUCTION:-0}
|
||||||
|
|
||||||
|
@ -88,13 +88,6 @@ main() {
|
|||||||
local bootloader_commit="$1"
|
local bootloader_commit="$1"
|
||||||
local firmware_commit="$2"
|
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"
|
worktree_setup "$FIRMWARE_DIR" "$firmware_commit"
|
||||||
|
|
||||||
if [ "$EMULATOR" != 1 ]; then
|
if [ "$EMULATOR" != 1 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user