Update version

This commit is contained in:
Saoud Rizwan
2024-08-03 15:10:57 -04:00
parent 2d37c290fa
commit 7656f8d653
4 changed files with 4 additions and 10 deletions

View File

@@ -14,12 +14,6 @@ const rootPackage = JSON.parse(fs.readFileSync(rootPackagePath, "utf8"))
rootPackage.version = newVersion
fs.writeFileSync(rootPackagePath, JSON.stringify(rootPackage, null, 2))
// Update webview package.json
const webviewPackagePath = path.join(__dirname, "..", "webview-ui", "package.json")
const webviewPackage = JSON.parse(fs.readFileSync(webviewPackagePath, "utf8"))
webviewPackage.version = newVersion
fs.writeFileSync(webviewPackagePath, JSON.stringify(webviewPackage, null, 2))
// Update Announcement.tsx
const announcementPath = path.join(__dirname, "..", "webview-ui", "src", "components", "Announcement.tsx")
let announcementContent = fs.readFileSync(announcementPath, "utf8")