Skip to content

Commit a4e4598

Browse files
committed
chore: fix firefox manifest version not updated
1 parent 8bda969 commit a4e4598

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

release.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const inquirer = require('inquirer')
33
const semver = require('semver')
44
const pkg = require('./package.json')
55
const manifest = require('./packages/shell-chrome/manifest.json')
6+
const manifestFirefox = require('./packages/shell-firefox/manifest.json')
67

78
const IS_CI = !!(process.env.CIRCLECI || process.env.GITHUB_ACTIONS)
89

@@ -50,6 +51,9 @@ const curVersion = pkg.version
5051
applyIcons(manifest)
5152
}
5253

54+
manifestFirefox.version = manifest.version
55+
manifestFirefox.version_name = manifest.version_name
56+
5357
fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2))
5458
{
5559
// Electron package
@@ -64,6 +68,7 @@ const curVersion = pkg.version
6468
fs.writeFileSync('./packages/api/package.json', JSON.stringify(pkg, null, 2))
6569
}
6670
fs.writeFileSync('./packages/shell-chrome/manifest.json', JSON.stringify(manifest, null, 2))
71+
fs.writeFileSync('./packages/shell-firefox/manifest.json', JSON.stringify(manifestFirefox, null, 2))
6772
}
6873
else {
6974
process.exit(1)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy