adjust bump script

This commit is contained in:
neil molina 2023-05-10 13:30:15 +08:00
parent dcc9a34e2c
commit f84ffbfc53
No known key found for this signature in database
GPG key ID: 52D69BF1F02F4267

View file

@ -124,7 +124,7 @@ if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then
exit 1 exit 1
fi fi
V=$(git describe --tags --abbrev=0 --match "v[0-9]*.[0-9]*.[0-9]*") V=$(node -p "require('./modules/desktop/package.json').version")
V=$(tea semverator bump $V $PRIORITY) V=$(tea semverator bump $V $PRIORITY)
if ! grep -F "\"version\": \"$V\",$" modules/desktop/package.json; then if ! grep -F "\"version\": \"$V\",$" modules/desktop/package.json; then