diff --git a/bin/release.sh b/bin/release.sh index 1d20fea3..d38042e9 100644 --- a/bin/release.sh +++ b/bin/release.sh @@ -18,7 +18,7 @@ if [[ -d "$BUILD_DIR" ]]; then fi COMMIT=$(git rev-parse HEAD) -VERSION=$(grep 'Version: ' $PWD/ai-builder.php | grep -oEi '[0-9\.a-z\+-]+$') +VERSION=$(grep '"force-ui": " ' $PWD/version.json | grep -oEi '[0-9\.a-z\+-]+$"') # Check if the tag exists in the remote GitHub repository. TAG_EXISTS=$(git ls-remote --tags origin | grep -c "refs/tags/$VERSION") diff --git a/package.json b/package.json index 1274f574..8ce1f473 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bsf/force-ui", - "version": "0.0.3", + "version": "1.0.0", "description": "Library of components for the BSF project", "main": "dist/force-ui.js", "scripts": { diff --git a/version.json b/version.json index 92a052d3..d73890aa 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "force-ui": "0.0.3" + "force-ui": "1.0.0" }