Skip to content

Commit

Permalink
chore: rename asset
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Dec 3, 2020
1 parent fde6417 commit 73d996c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function main() {
const version = require('../package.json').version
const buildDir = join(__dirname, '../build')
const releaseDir = join(__dirname, '../release')
const pkg = join(releaseDir, `${pkgName}-v${version}.bobplugin`)
const pkg = join(releaseDir, `${pkgName}.bobplugin`)
const info = {
...generateInfo(),
version,
Expand Down
7 changes: 2 additions & 5 deletions scripts/update-appcast.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ const githubRelease = `https://github.com/geekdada/bob-plugin-deepl-translate/re

function main() {
const pkgName = 'bob-plugin-deepl-translate'
const pkgPath = path.join(
__dirname,
`../release/${pkgName}-v${pkg.version}.bobplugin`,
)
const pkgPath = path.join(__dirname, `../release/${pkgName}.bobplugin`)
const appcastPath = path.join(__dirname, '../appcast.json')

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

Expand Down

0 comments on commit 73d996c

Please sign in to comment.