diff --git a/build.js b/build.js index 3b95188..238ae8c 100644 --- a/build.js +++ b/build.js @@ -22,9 +22,9 @@ const STYLESHEET_KEY = "___STYLESHEET___"; const now = new Date(); const versionDate = `${now.getFullYear()}.${now.getMonth() + 1}.${now.getDate()}`; -let buildNumber = 1; -// Get build number from manifest.json +// Get current build number from manifest.json +let buildNumber = 0; try { const manifest = JSON.parse(readFileSync('manifest.json', 'utf8')); if (manifest.version) { @@ -41,9 +41,8 @@ try { throw e; } -const version = `${versionDate}.${buildNumber}`; - // Update manifest.json with new version +const version = `${versionDate}.${buildNumber}`; try { const manifest = JSON.parse(readFileSync('manifest.json', 'utf8')); manifest.version = version; diff --git a/dist/birb.user.js b/dist/birb.user.js index 7eb5a87..7a51b2f 100644 --- a/dist/birb.user.js +++ b/dist/birb.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Pocket Bird // @namespace https://idreesinc.com -// @version 2025.10.25.1 +// @version 2025.10.25.8 // @description birb // @author Idrees // @downloadURL https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/birb.user.js diff --git a/manifest.json b/manifest.json index 4383718..c9ea6e4 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Pocket Bird", "description": "It's a bird, in your browser. What more could you want?", - "version": "2025.10.25.1", + "version": "2025.10.25.8", "homepage_url": "https://idreesinc.com", "content_scripts": [ {