[DEV] error in position of update
This commit is contained in:
parent
7388e167a7
commit
e1673cac97
@ -2,10 +2,11 @@
|
||||
|
||||
version_file="version.txt"
|
||||
|
||||
if grep -q "dev" "$version_file"; then
|
||||
# update all dependency
|
||||
new_version=$(cat $version_file)
|
||||
sed -i "s|\"version\":.*\".*\"|\"version\":\"$new_version\"|" package.json
|
||||
|
||||
if grep -q "dev" "$version_file"; then
|
||||
# update all dependency
|
||||
pnpm install
|
||||
pnpm run update_packages
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user