Skip to content

Commit

Permalink
chore(update): minor update on script (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Nov 9, 2024
1 parent 08ec632 commit 730164d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions updateVersion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const fs = require('fs')
const path = require('path')
import fs from 'fs'
import path from 'path'

const VERSION = process.env.RELEASE_VERSION

Expand All @@ -17,6 +17,6 @@ let content = fs.readFileSync(filePath, 'utf-8')
// Update URLs in DOWNLOAD_LINKS
content = content.replace(/\/v\d+\.\d+\.\d+\//g, `/v${VERSION}/`)

fs.writeFileSync(filePath, content);
fs.writeFileSync(filePath, content)

console.log(`Updated DOWNLOAD_LINKS version to v${VERSION}`)

0 comments on commit 730164d

Please sign in to comment.