Skip to content

Commit 73d996c

Browse files
committed
chore: rename asset
1 parent fde6417 commit 73d996c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

scripts/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function main() {
7474
const version = require('../package.json').version
7575
const buildDir = join(__dirname, '../build')
7676
const releaseDir = join(__dirname, '../release')
77-
const pkg = join(releaseDir, `${pkgName}-v${version}.bobplugin`)
77+
const pkg = join(releaseDir, `${pkgName}.bobplugin`)
7878
const info = {
7979
...generateInfo(),
8080
version,

scripts/update-appcast.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ const githubRelease = `https://github.com/geekdada/bob-plugin-deepl-translate/re
88

99
function main() {
1010
const pkgName = 'bob-plugin-deepl-translate'
11-
const pkgPath = path.join(
12-
__dirname,
13-
`../release/${pkgName}-v${pkg.version}.bobplugin`,
14-
)
11+
const pkgPath = path.join(__dirname, `../release/${pkgName}.bobplugin`)
1512
const appcastPath = path.join(__dirname, '../appcast.json')
1613

1714
const fileBuffer = fs.readFileSync(pkgPath)
@@ -24,7 +21,7 @@ function main() {
2421
desc:
2522
'https://github.com/geekdada/bob-plugin-deepl-translate/blob/master/CHANGELOG.md',
2623
sha256: hex,
27-
url: `${githubRelease}/v${pkg.version}/${pkgName}-v${pkg.version}.bobplugin`,
24+
url: `${githubRelease}/v${pkg.version}/${pkgName}.bobplugin`,
2825
minBobVersion: '0.5.0',
2926
}
3027

0 commit comments

Comments
 (0)