Fix version number in commit

This commit is contained in:
Sidharth Vinod
2021-05-23 11:42:47 +05:30
parent b71ef8ee8e
commit a09982e7c1
+2 -2
View File
@@ -18,11 +18,11 @@ jobs:
run: |
npm i -g yarn
yarn install
yarn version --patch --no-git-tag-version
version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
export CI=true
yarn build
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Release $(yarn version --version)"
git commit -m "Release $version"
git push