mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 04:43:20 +03:00
fix(electron): client always update cause by version not update correctly (#5507)
close #5475
This commit is contained in:
parent
400488980f
commit
36fde20b7d
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
for DIR in $(yarn workspaces list --json | jq -r '.location'); do
|
||||
for DIR_ITEM in $(yarn workspaces list --json | jq -r '.location'); do
|
||||
DIR=$(echo -n "$DIR_ITEM" | sed -e 's/[[:blank:]]*$//' -e 's/[\n\r]*$//')
|
||||
if [ -f "$DIR/package.json" ]; then
|
||||
echo "Setting version for $DIR"
|
||||
jq ".version = \"$1\"" "$DIR"/package.json > tmp.json && mv tmp.json "$DIR"/package.json
|
||||
|
Loading…
Reference in New Issue
Block a user