We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 309feae commit 02fc723Copy full SHA for 02fc723
download.js
@@ -36,7 +36,8 @@ async function extractAsset(zipPath, downloadDir) {
36
}
37
38
async function run() {
39
- const { body: release } = await got('https://api.github.com/repos/jgm/pandoc/releases/latest', { json: true });
+ const VERSION = '3.1.11'
40
+ const { body: release } = await got(`https://api.github.com/repos/jgm/pandoc/releases/tags/${VERSION}`, { json: true });
41
const donwloadRoot = path.join(__dirname, './.pandoc-local');
42
const downloadDir = path.join(donwloadRoot, release.tag_name);
43
0 commit comments