mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 21:23:07 +00:00
chore: update package versions to 0.12.0 and 0.12.0rc
- Updated the version in package.json for the main project to 0.12.0rc. - Updated the version in apps/server/package.json and apps/ui/package.json to 0.12.0. - Adjusted the version extraction logic in start-automaker.sh to reference the correct package.json path.
This commit is contained in:
@@ -39,7 +39,7 @@ SERVER_PORT=$DEFAULT_SERVER_PORT
|
||||
|
||||
# Extract VERSION from package.json (using node for reliable JSON parsing)
|
||||
if command -v node &> /dev/null; then
|
||||
VERSION="v$(node -p "require('./package.json').version" 2>/dev/null || echo "0.0.0")"
|
||||
VERSION="v$(node -p "require('$SCRIPT_DIR/package.json').version" 2>/dev/null || echo "0.0.0")"
|
||||
else
|
||||
VERSION=$(grep '"version"' "$SCRIPT_DIR/package.json" | head -1 | sed 's/.*"version"[^"]*"\([^"]*\)".*/v\1/')
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user