From f84ffbfc531c44c54cb0e6a18c503b225fcdd55b Mon Sep 17 00:00:00 2001 From: neil molina Date: Wed, 10 May 2023 13:30:15 +0800 Subject: [PATCH] adjust bump script --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7efce71..1a10989 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then exit 1 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) if ! grep -F "\"version\": \"$V\",$" modules/desktop/package.json; then