fix(ci): preparing dist bash syntax

This commit is contained in:
Mikołaj Młodzikowski 2023-05-10 13:33:17 +02:00
parent adfad3bafb
commit 00fdc5e81a

View File

@ -1,7 +1,7 @@
#!/bin/bash -e #!/bin/bash -e
yarn --pure-lockfile yarn --pure-lockfile
app={$1:-trading} app=${1:-trading}
flags="--env=${$2:-mainnet}" flags="--env=${2:-mainnet}"
yarn install yarn install
if [ "${app}" = "trading" ]; then if [ "${app}" = "trading" ]; then
yarn nx export trading $flags yarn nx export trading $flags