Skip to content

Commit 693bce8

Browse files
committed
#66 generate automatic changelog via digilive/git-changelog
1 parent 137274a commit 693bce8

File tree

3 files changed

+382
-119
lines changed

3 files changed

+382
-119
lines changed

changelog-generator.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
use DigiLive\GitChangeLog\GitChangeLog;
4+
5+
// Instantiate composer's auto loader.
6+
require __DIR__ . './vendor/autoload.php';
7+
8+
// Or include the library manually.
9+
// require_once 'Path/To/GitChangeLog.php';
10+
11+
// Instantiate the library.
12+
$changelog = new GitChangeLog();
13+
// Build and save the changelog with all defaults.
14+
$changelog->build();
15+
$changelog->save('CHANGELOG.md');

0 commit comments

Comments
 (0)