mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
15 lines
338 B
Bash
Executable File
15 lines
338 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
|
|
|
PARENT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
|
|
cd "$PARENT_PATH"
|
|
cd ../submodules/trezor-common
|
|
commit=$(git rev-parse --short HEAD)
|
|
echo "$commit"
|
|
git pull origin master
|
|
cd ../
|
|
git add .
|
|
git commit -m "chore: update trezor-common ($commit)"
|
|
git submodule update --init --recursive
|