diff --git a/on_release.js b/on_release.js deleted file mode 100644 index 286c4a7..0000000 --- a/on_release.js +++ /dev/null @@ -1,25 +0,0 @@ -var botio = require(process.env['BOTIO_MODULE']); -var path = require('path'); -require('shelljs/global'); - -try { - var jobInfo = JSON.parse(process.env['BOTIO_JOBINFO']); - var reason = 'See mozilla/pdf.js@' + jobInfo.head_sha; - process.env['PDFJS_UPDATE_REASON'] = reason; - echo('>> Setting reason to: ' + reason); -} catch (_) {} - -exec('npm install', {async:true}, function () { - -// -// Publish library to pdfjs-dist -// -exec('npx gulp dist', {async:true}, function() { - -cd('build/dist'); -exec('git push --tags git@github.com:mozilla/pdfjs-dist.git master'); -exec('npm publish'); -cd('../..'); - -}); // npx gulp dist -}); // npm install