diff --git a/agents/patchmon-agent.sh b/agents/patchmon-agent.sh index f7213d0..ca04313 100755 --- a/agents/patchmon-agent.sh +++ b/agents/patchmon-agent.sh @@ -6,7 +6,7 @@ # Configuration PATCHMON_SERVER="${PATCHMON_SERVER:-http://localhost:3001}" API_VERSION="v1" -AGENT_VERSION="1.2.3" +AGENT_VERSION="1.2.4" CONFIG_FILE="/etc/patchmon/agent.conf" CREDENTIALS_FILE="/etc/patchmon/credentials" LOG_FILE="/var/log/patchmon-agent.log" diff --git a/backend/package.json b/backend/package.json index 3b15310..8b1b55f 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "patchmon-backend", - "version": "1.2.3", + "version": "1.2.4", "description": "Backend API for Linux Patch Monitoring System", "main": "src/server.js", "scripts": { diff --git a/backend/src/routes/versionRoutes.js b/backend/src/routes/versionRoutes.js index df68889..c90630d 100644 --- a/backend/src/routes/versionRoutes.js +++ b/backend/src/routes/versionRoutes.js @@ -14,7 +14,7 @@ const router = express.Router(); router.get('/current', authenticateToken, async (req, res) => { try { // For now, return hardcoded version - this should match your agent version - const currentVersion = '1.2.3'; + const currentVersion = '1.2.4'; res.json({ version: currentVersion, @@ -230,7 +230,7 @@ router.get('/check-updates', authenticateToken, requireManageSettings, async (re ); const latestVersion = latestTag.trim().replace('v', ''); // Remove 'v' prefix - const currentVersion = '1.2.3'; + const currentVersion = '1.2.4'; // Simple version comparison (assumes semantic versioning) const isUpdateAvailable = compareVersions(latestVersion, currentVersion) > 0; diff --git a/frontend/package.json b/frontend/package.json index 1d1ac03..8244850 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "patchmon-frontend", "private": true, - "version": "1.2.3", + "version": "1.2.4", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/pages/Settings.jsx b/frontend/src/pages/Settings.jsx index 8e7d874..e3af145 100644 --- a/frontend/src/pages/Settings.jsx +++ b/frontend/src/pages/Settings.jsx @@ -41,7 +41,7 @@ const Settings = () => { // Version checking state const [versionInfo, setVersionInfo] = useState({ - currentVersion: '1.2.3', + currentVersion: '1.2.4', latestVersion: null, isUpdateAvailable: false, checking: false, diff --git a/package.json b/package.json index 7d7ed33..7d6dc44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "patchmon", - "version": "1.2.3", + "version": "1.2.4", "description": "Linux Patch Monitoring System", "private": true, "workspaces": [