Fix fetching version
This commit is contained in:
parent
aa61dc6887
commit
fa3f65a0e5
|
@ -53,8 +53,9 @@ jobs:
|
||||||
version=$(cat lerna.json \
|
version=$(cat lerna.json \
|
||||||
| grep version \
|
| grep version \
|
||||||
| head -1 \
|
| head -1 \
|
||||||
| awk -F: '{ print $2 }' \
|
| awk -F: '{gsub(/"/,"",$2);gsub(/[[:space:]]*/,"",$2); print $2}' \
|
||||||
| sed 's/[",]//g')
|
| sed 's/[",]//g')
|
||||||
|
echo "Setting version $version"
|
||||||
yarn lerna exec "yarn version --no-git-tag-version --new-version=$version"
|
yarn lerna exec "yarn version --no-git-tag-version --new-version=$version"
|
||||||
- run: yarn bootstrap
|
- run: yarn bootstrap
|
||||||
- run: yarn build
|
- run: yarn build
|
||||||
|
|
Loading…
Reference in New Issue