-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add CHANGELOG handling by default via conventional-changelog
- Loading branch information
1 parent
678aca9
commit c53b6cb
Showing
8 changed files
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters