electron/get

about mirrorOption version(x.x.x -> vx.x.x)

siaikin opened this issue ยท 3 comments

commit code

i use this mirror 'https://npm.taobao.org/mirrors/electron/' in china.

in 7.0.0 '@electron/get' request wrong url:
'https://npm.taobao.org/mirrors/electron/v7.0.0/electron-v7.0.0-darwin-x64.zip'

but in 6.1.2 request this url:
'https://npm.taobao.org/mirrors/electron/6.1.2/electron-v6.1.2-darwin-x64.zip'

i seems in this code you sue v${version}. this should be the cause.

ps thanks @nickfan

taobao mirror is update cnpm/cnpmjs.org#1551 (comment)

๐ŸŽ‰ This issue has been resolved in version 1.8.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€