File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff 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,
Original file line number Diff line number Diff line change @@ -8,10 +8,7 @@ const githubRelease = `https://github.com/geekdada/bob-plugin-deepl-translate/re
88
99function 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
You can’t perform that action at this time.
0 commit comments