Blame view

node_modules/videojs-flash/scripts/version.js 350 Bytes
2a09d1a4   liuqimichale   添加宜春 天水 宣化
1
2
3
4
5
6
7
8
9
10
  const execSync = require('child_process').execSync;
  const path = require('path');
  const semver = require('semver');
  const pkg = require('../package.json');
  
  if (!semver.prerelease(pkg.version)) {
    process.chdir(path.resolve(__dirname, '..'));
    execSync('conventional-changelog -p videojs -i CHANGELOG.md -s');
    execSync('git add CHANGELOG.md');
  }