Fix fetching version

This commit is contained in:
adrinr 2023-04-20 16:45:14 +01:00
parent aa61dc6887
commit fa3f65a0e5
1 changed files with 2 additions and 1 deletions

View File

@ -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