fix: use raw yq query result (formatted one may result in "d.d.d" string on some systems)
This commit is contained in:
parent
4d62039dd4
commit
bd41aeb45e
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ rm -r assets/js/package
|
|||
mkdir -p assets/js/package
|
||||
touch assets/js/package/.gitkeep
|
||||
|
||||
OLM_VERSION=$(cat pubspec.yaml | yq .dependencies.flutter_olm)
|
||||
OLM_VERSION=$(cat pubspec.yaml | yq -r .dependencies.flutter_olm)
|
||||
DOWNLOAD_PATH="https://github.com/famedly/olm/releases/download/v$OLM_VERSION/olm.zip"
|
||||
|
||||
cd assets/js/ && curl -L $DOWNLOAD_PATH > olm.zip && cd ../../
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue