Skip to content

Commit 1a03fa9

Browse files
committed
#66 auto generate log
1 parent 6b33f7f commit 1a03fa9

File tree

3 files changed

+51
-86
lines changed

3 files changed

+51
-86
lines changed

changelog.md

Lines changed: 25 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# changelog
22

3-
## v2.2.1 (2020-08-06)
4-
3+
## v2.2.1 ('2020-08-06')
54
* pcre is needed [View](https://github.com/JBlond/php-diff/commit/147b89e964dc666e6b782f3f289204a8edb2eb66)
65
* update readme file [View](https://github.com/JBlond/php-diff/commit/2bb7a09ec072ec8cb3a85c884746502b262dce54)
76
* make jblond/php-cli optional [View](https://github.com/JBlond/php-diff/commit/0346948d1ed7943bd4f5c6a9ded3ecf7cc96c263)
@@ -11,18 +10,14 @@
1110
* Fix #58 - Side by side diff shows empty diff [View](https://github.com/JBlond/php-diff/commit/369b1461d62b26268dbaeddeaf1919f5cab41738)
1211
* Fix #58 - Side by side diff shows empty diff [View](https://github.com/JBlond/php-diff/commit/0946d5967ca435d81def7599061627761ce0357a)
1312
* update version number [View](https://github.com/JBlond/php-diff/commit/e6812d018163a60261136621c4cb05499ab995c9)
14-
15-
## v2.2.0 (2020-07-23)
16-
13+
## v2.2.0 ('2020-07-23')
1714
* Change rendering flow. [View](https://github.com/JBlond/php-diff/commit/c323f770e78dd6987f80306f41ba1eca60d59a78)
1815
* Fix code quality. [View](https://github.com/JBlond/php-diff/commit/0ef6def8a0c8b310a0b64a3a71da21e7f85c2974)
1916
* Resolve #52 and fixes. [View](https://github.com/JBlond/php-diff/commit/fda4852a92a7cb6f2d51e0292d9bb13bbf560d2c)
2017
* Resolve #52 and fixes. [View](https://github.com/JBlond/php-diff/commit/2be0c511e9243b363f16823217cfc4d71abc59de)
2118
* add line for readabiltity [View](https://github.com/JBlond/php-diff/commit/e28511b003fe2c3451de4f38c1776590ffe5351e)
2219
* increase version number for the next release [View](https://github.com/JBlond/php-diff/commit/6acb81e38997cb378607ece0a4a37756aa4d161b)
23-
24-
## v2.1.1 (2020-07-17)
25-
20+
## v2.1.1 ('2020-07-17')
2621
* add unit test for cli output [View](https://github.com/JBlond/php-diff/commit/0c75757bea37584a81bce7bdff273c14a2293f54)
2722
* update doc in unit test [View](https://github.com/JBlond/php-diff/commit/7ec0dbb22cac3612de212d603d2d96c96a9e72d4)
2823
* move images to assets directory [View](https://github.com/JBlond/php-diff/commit/fbea75e2eb5683e57c9afb01542cd4bb2842bace)
@@ -33,19 +28,15 @@
3328
* Fix #50. [View](https://github.com/JBlond/php-diff/commit/47d6288797d10b42acc7ae48db4f1f11822f7bc0)
3429
* remove second empty last line [View](https://github.com/JBlond/php-diff/commit/af5b2c57a05a5c71b8748ceb95d4dcf6067fdb68)
3530
* increase version number for #50 bug fix release [View](https://github.com/JBlond/php-diff/commit/eda111b59cf6dab66ab9d6c875d29235ac1fc353)
36-
37-
## v2.1.0 (2020-07-13)
38-
31+
## v2.1.0 ('2020-07-13')
3932
* remove some complexity [View](https://github.com/JBlond/php-diff/commit/a1e61fbeeb10001beaf84c57828cf1e489e506ca)
4033
* refactor variable names [View](https://github.com/JBlond/php-diff/commit/b48cbe6f6f76e82a0a0c6079380fcb3f335bcf83)
4134
* follow up https://github.com/JBlond/php-diff/pull/42 [View](https://github.com/JBlond/php-diff/commit/8586225e4de8aa631e78f56047022d64c309cccf)
4235
* Following up #42. [View](https://github.com/JBlond/php-diff/commit/f3a8f0d54eee0594e7aeddb7d60910ebc0e2f4dd)
4336
* remove not used variable [View](https://github.com/JBlond/php-diff/commit/1ecdac53e9112fbbf75824aa99f13d5bf6efa2cf)
4437
* add plain output for cli [View](https://github.com/JBlond/php-diff/commit/d7bbe128f3437cbf85508ce759f806faf97ab67f)
4538
* remove output example [View](https://github.com/JBlond/php-diff/commit/89602af6954d50b15c519cc5829686b5e7130e02)
46-
47-
## v2.0.0 (2020-07-09)
48-
39+
## v2.0.0 ('2020-07-09')
4940
* Update README.md [View](https://github.com/JBlond/php-diff/commit/9c4e77c85bb3d88878a93083dd1906a2411a1988)
5041
* Update README.md [View](https://github.com/JBlond/php-diff/commit/bae640ee9faf3c684a15cab19facc98d4a412842)
5142
* Hide images by default, to have a shorter readme [View](https://github.com/JBlond/php-diff/commit/5cd911342c8709c26d5b5fe14ba879648aaf7e90)
@@ -73,18 +64,14 @@
7364
* change composer require for package [View](https://github.com/JBlond/php-diff/commit/ede59fbb40896da454f8b491d15e19ce1b5bd9f0)
7465
* reduce Cyclomatic Complexity [View](https://github.com/JBlond/php-diff/commit/8fcc5fbd08b514ef066d6a9a55096104cb996f33)
7566
* increase version number [View](https://github.com/JBlond/php-diff/commit/f44ee814834aeaadfc459a6c4c2ec8f14aa75668)
76-
77-
## v1.18 (2020-07-01)
78-
67+
## v1.18 ('2020-07-01')
7968
* Avoid variables with short names [View](https://github.com/JBlond/php-diff/commit/70e327b6de2dfc2bdd61dbe823458244f45bab4c)
8069
* ignore phpstorm settings [View](https://github.com/JBlond/php-diff/commit/19bdb9719b9f471ba2d795772acfc5b04b68cbe3)
8170
* add dark theme example [View](https://github.com/JBlond/php-diff/commit/b9d0ef6e88a78460534178a57f3aae906844f320)
8271
* increase version number [View](https://github.com/JBlond/php-diff/commit/69b7e07e2653a6557a0da08009e000183872a716)
8372
* add author [View](https://github.com/JBlond/php-diff/commit/e132cdbc89da1cf3298896520ee32095eef01107)
8473
* remove exclude [View](https://github.com/JBlond/php-diff/commit/cac11d6ee431a2ef23092a21fc87db3d22ad450a)
85-
86-
## v1.17 (2020-06-08)
87-
74+
## v1.17 ('2020-06-08')
8875
* use SPL [View](https://github.com/JBlond/php-diff/commit/0466227f6eab3f8549bc1cfb841dac4765bbbcf9)
8976
* Code Fixes. [View](https://github.com/JBlond/php-diff/commit/dd076856c50aac732c3464ab15847a0ba12d1568)
9077
* remove used property [View](https://github.com/JBlond/php-diff/commit/6de732567160f9fabe4a8585560769ce1fbf476f)
@@ -97,9 +84,7 @@
9784
* Update LICENSE [View](https://github.com/JBlond/php-diff/commit/8c2c88aae67026ac5ef37ca61185cdb6a5822a0e)
9885
* Fix issue #32. [View](https://github.com/JBlond/php-diff/commit/7ef67e621db371d02d84fff98d6443b9365cbb07)
9986
* increase version number for release [View](https://github.com/JBlond/php-diff/commit/5912a3fb89952a6ba7eb58ef4eae2e8d1612c8ae)
100-
101-
## v1.16 (2020-03-02)
102-
87+
## v1.16 ('2020-03-02')
10388
* Add composer package PHP Mess Detector v2.* [View](https://github.com/JBlond/php-diff/commit/3e527d122a35b8a541aab5ae18942d14b5b4b434)
10489
* Update README.md [View](https://github.com/JBlond/php-diff/commit/43ba9e0a76488169f5211982e6ab2d370c834f3e)
10590
* Update README.md [View](https://github.com/JBlond/php-diff/commit/b2dd9e96d8d7ddaaadd1c97c978f4ceafc159977)
@@ -121,9 +106,7 @@
121106
* Remove formatting of "collapsed block" indicator. [View](https://github.com/JBlond/php-diff/commit/3d33000babaafe5e4d04a8d00d00f8d2bc908935)
122107
* Fix expected value for HtmlRendererTest::testUnified() [View](https://github.com/JBlond/php-diff/commit/fbda2bdf12a920644d917e6abca6cdf624b69c8e)
123108
* update Version number [View](https://github.com/JBlond/php-diff/commit/f8d5fe225562ff809b14b56075a37ee6a2d4ce81)
124-
125-
## v1.15 (2020-01-24)
126-
109+
## v1.15 ('2020-01-24')
127110
* raise version number [View](https://github.com/JBlond/php-diff/commit/9700db76d5ff22cb8fe53ba1f07b6190fd4c1be1)
128111
* Preperation for local developement. [View](https://github.com/JBlond/php-diff/commit/4352698825be79eccee1106b4804fe1921ba79cc)
129112
* Code commenting. [View](https://github.com/JBlond/php-diff/commit/e6cd9e094b162ec02f2c712f6f543da59e3d733c)
@@ -152,21 +135,15 @@
152135
* remove list, but use an array [View](https://github.com/JBlond/php-diff/commit/aed258fe7de577fefcd618eb788f7503f2627d0d)
153136
* remove blank line [View](https://github.com/JBlond/php-diff/commit/35cd1ebc4702d71e6d1d0f0f6f24639cd8e450bf)
154137
* Code Fixes, Optimization, cleanup, refactoring and commenting. [View](https://github.com/JBlond/php-diff/commit/78a16587d681fc687de586321a7cb9659004f16a)
155-
156-
## v1.14 (2019-12-03)
157-
138+
## v1.14 ('2019-12-03')
158139
* prepare 1.14 [View](https://github.com/JBlond/php-diff/commit/fab2a4308ed2451c192c6ee9227718147646e3ad)
159140
* some code clean up [View](https://github.com/JBlond/php-diff/commit/1cc43c3cf58a0f8fd55780a0e4a2161b3a654671)
160141
* remove unused function [View](https://github.com/JBlond/php-diff/commit/49e2c3acdd514b70582d258ec042a1f86a453d29)
161-
162-
## v1.13 (2019-10-08)
163-
142+
## v1.13 ('2019-10-08')
164143
* prepare 1.13 [View](https://github.com/JBlond/php-diff/commit/1cdd3dc69a731cef35813a3881e3fe358ea57c45)
165144
* update phpunit [View](https://github.com/JBlond/php-diff/commit/d883a00f8ab3730b9515b39b527b1561c828d119)
166145
* Use PSR 12 [View](https://github.com/JBlond/php-diff/commit/039fab00f33ac7509a8ec94f634331e53fd90371)
167-
168-
## v1.12 (2019-03-18)
169-
146+
## v1.12 ('2019-03-18')
170147
* update Readme with example code [View](https://github.com/JBlond/php-diff/commit/3396d355780cb6dec0dd85d7eccc9933c15e3f40)
171148
* increase version number [View](https://github.com/JBlond/php-diff/commit/f755fce7c10923a75d7d77785e381353339b3563)
172149
* remove BOM [View](https://github.com/JBlond/php-diff/commit/1dd40d8f83543a82df00598310761cbb0e121590)
@@ -176,9 +153,7 @@
176153
* add tests [View](https://github.com/JBlond/php-diff/commit/6d165a674b437ad4fa26cd8587c70e3b646862fd)
177154
* add phpunit test to composer [View](https://github.com/JBlond/php-diff/commit/e8a3f7194ab2685cbbb1ce80ff4453f4cd1135f5)
178155
* remove files from .gitignore [View](https://github.com/JBlond/php-diff/commit/2f11a9df1646818e8a90f94f58b52a1876f9e7c3)
179-
180-
## v1.11 (2019-02-22)
181-
156+
## v1.11 ('2019-02-22')
182157
* update example [View](https://github.com/JBlond/php-diff/commit/718ec116fd83d18c4bed631cea9f354b62df87c4)
183158
* remove idea [View](https://github.com/JBlond/php-diff/commit/0f27cc1abe43bb155840f9993a3afff350a8c2ac)
184159
* update [View](https://github.com/JBlond/php-diff/commit/93663b5b7e4ffa9e16b409ccdd68d4e3176318d8)
@@ -189,9 +164,7 @@
189164
* increase version number [View](https://github.com/JBlond/php-diff/commit/aa4cf3b074745018f117857fbabaa8bf8f6ba46e)
190165
* update doc [View](https://github.com/JBlond/php-diff/commit/8c56a2dae7256e5491a95572047f606c9fb3c9b6)
191166
* update composer file (autoload) [View](https://github.com/JBlond/php-diff/commit/288f33c3dfc24ff65ef9a339859a9abe9c00adf2)
192-
193-
## v1.10 (2019-02-20)
194-
167+
## v1.10 ('2019-02-20')
195168
* increase version [View](https://github.com/JBlond/php-diff/commit/8e72ea79158e878b3c2e2d3dc36737614abe0f44)
196169
* update example [View](https://github.com/JBlond/php-diff/commit/c6977f36fa457165280d7a9488888595150e581b)
197170
* update readme [View](https://github.com/JBlond/php-diff/commit/247ddb11fa6e545e6c1a5a4f22e58ee1abd8f6ed)
@@ -208,19 +181,15 @@
208181
* avoid short variable names [View](https://github.com/JBlond/php-diff/commit/8a699ef85ed59fdcf8766ab872d2f91e70feec3a)
209182
* avoid short variable names [View](https://github.com/JBlond/php-diff/commit/f75c8700f3d5770fa24926638cd86d74835a5bf5)
210183
* remove else [View](https://github.com/JBlond/php-diff/commit/3af88d25dd0e62a085ece1696fdbed440ff8bc85)
211-
212-
## v1.9 (2019-02-19)
213-
184+
## v1.9 ('2019-02-19')
214185
* add stronger type hinting [View](https://github.com/JBlond/php-diff/commit/3a6ef4228b7b06a670a2126b26b9f147c493e6a7)
215186
* increase version number [View](https://github.com/JBlond/php-diff/commit/8f19707ee0ac26cdf1525e8cc9b7a3ae7925603c)
216187
* stronger type hinting [View](https://github.com/JBlond/php-diff/commit/9cc5cfbaf8ff2a149386756ad77d2419e25533c6)
217188
* longer variable names [View](https://github.com/JBlond/php-diff/commit/68e517a9390e5746fec7b361e0d492a65457e594)
218189
* add comment like in the other file [View](https://github.com/JBlond/php-diff/commit/8b68a5de2586beec683995bdb92c9bc312ce4c58)
219190
* deduplicate render code [View](https://github.com/JBlond/php-diff/commit/5967e91e923bba918083455154dc588e8e16e99c)
220191
* lib\jblond\Diff\SequenceMatcher.php:622 PhanTypeMismatchDimFetch When fetching an array index from a value of type array<int,array{0:'equal',1:0|mixed,2:1|mixed,3:0|mixed,4:1|mixed}>|array{}, found an array index of type '0', but expected the index to be of type int [View](https://github.com/JBlond/php-diff/commit/1c537ffebf1fe803182b16bf0750c70270b6b03d)
221-
222-
## v1.8 (2019-02-13)
223-
192+
## v1.8 ('2019-02-13')
224193
* change PHP version [View](https://github.com/JBlond/php-diff/commit/d36ca2b71964fd6819016c56081e691391d2cb30)
225194
* refer to License file [View](https://github.com/JBlond/php-diff/commit/6311fd4b350a0e689cdd690febf2e239dc1d9dde)
226195
* relative path to pictures [View](https://github.com/JBlond/php-diff/commit/3df01ccd3671228487cdf36ec11b923ab721bbed)
@@ -231,9 +200,7 @@
231200
* PSR1.Files.SideEffects.FoundWithSymbols [View](https://github.com/JBlond/php-diff/commit/7699e4ff0239b8faa80ad9c2409cc4f5bff182a8)
232201
* update version string [View](https://github.com/JBlond/php-diff/commit/5d22b819e4ead530837b96b9e9b509bb215083b1)
233202
* Revert "PSR1.Files.SideEffects.FoundWithSymbols" make unit test work again [View](https://github.com/JBlond/php-diff/commit/523188397a25b87a095292ba0722846ded042f81)
234-
235-
## v1.7 (2019-01-19)
236-
203+
## v1.7 ('2019-01-19')
237204
* return type match [View](https://github.com/JBlond/php-diff/commit/53502f22744a9bb1dbbbe7d9e25e5c9224cd0043)
238205
* remove useless use import [View](https://github.com/JBlond/php-diff/commit/4113efe04db89982a57190446923a906fd3ad8ec)
239206
* done. support for PSR4 is given [View](https://github.com/JBlond/php-diff/commit/aea243727ff31b681db114169af731bd438275d2)
@@ -242,9 +209,7 @@
242209
* adding curly brackets [View](https://github.com/JBlond/php-diff/commit/148e78748d521df0fb66b531cf331b39a603d626)
243210
* fix tabs [View](https://github.com/JBlond/php-diff/commit/354bf5c6b51e740539c64827634a9ba805c76a06)
244211
* tabs vs space [View](https://github.com/JBlond/php-diff/commit/f326877863bb97f37c237ae9098b228238aafdcd)
245-
246-
## v1.6 (2019-01-19)
247-
212+
## v1.6 ('2019-01-19')
248213
* increase version number [View](https://github.com/JBlond/php-diff/commit/3b2b9e76843c4e117891cb120570c2c456341039)
249214
* add unit tests [View](https://github.com/JBlond/php-diff/commit/0db511d21bde153303760e5733209ffb3a98f547)
250215
* fix tests [View](https://github.com/JBlond/php-diff/commit/44a6ab0e83d5674ee0fcdf16e868be7f8f68a716)
@@ -270,13 +235,9 @@
270235
* increase required PHP version [View](https://github.com/JBlond/php-diff/commit/0c3fd1a14d84a56e897f732ae732802e7de48116)
271236
* use strict types [View](https://github.com/JBlond/php-diff/commit/c53c230819bbb6f7e2388001a53e767d378df8df)
272237
* increase version number [View](https://github.com/JBlond/php-diff/commit/ea70fdfd32bdfa39c04bc1539c261208d896a5ec)
273-
274-
## v1.5 (2019-01-15)
275-
238+
## v1.5 ('2019-01-15')
276239
* remove require_once, use only autoloader [View](https://github.com/JBlond/php-diff/commit/4623f1b6c230bd61ee58209505a06769913e7994)
277-
278-
## v1.4 (2019-01-14)
279-
240+
## v1.4 ('2019-01-14')
280241
* add badge [View](https://github.com/JBlond/php-diff/commit/0fac082cecf2b5a775451dcabf1a8649adf53a98)
281242
* Update README.md [View](https://github.com/JBlond/php-diff/commit/ea93fb990576e306c5cc87a9ca7f32ec823bcbbb)
282243
* add keywords [View](https://github.com/JBlond/php-diff/commit/e64716df145aa9cc31330df5de09593a30e42473)
@@ -286,9 +247,7 @@
286247
* remove debug line [View](https://github.com/JBlond/php-diff/commit/62b01c5dc29357557a42f2c82bc3b652aad9bddd)
287248
* shorten code [View](https://github.com/JBlond/php-diff/commit/87edbec0ff0c5b08d54f8db1732c1c1586e590f9)
288249
* increase version [View](https://github.com/JBlond/php-diff/commit/6500c97c805775185edc145d64d6c96f245bbd43)
289-
290-
## v1.3 (2019-01-11)
291-
250+
## v1.3 ('2019-01-11')
292251
* Update README.md [View](https://github.com/JBlond/php-diff/commit/fdfc17a92c53fc1c8d82b8fd605b0ae45143fcb6)
293252
* packagist.org warning [View](https://github.com/JBlond/php-diff/commit/ca954c3ca48705746d4a918cecf275ddd3021987)
294253
* add lang to html [View](https://github.com/JBlond/php-diff/commit/1623626d7337c399e33479d171c534830a0a8ee9)
@@ -299,23 +258,20 @@
299258
* Fixed lengths of functions [View](https://github.com/JBlond/php-diff/commit/35917898b3adeec1b180d7277b4ba86dd3444b45)
300259
* added missing doc block [View](https://github.com/JBlond/php-diff/commit/c6f3745c558b849af2edb8cbdf740a52b45887a3)
301260
* increase version number [View](https://github.com/JBlond/php-diff/commit/89f7feb54b1d03b66ac814f3eeb6d943b297221f)
302-
303-
## v1.2 (2018-01-23)
304-
261+
## v1.2 ('2018-01-23')
305262
* update example [View](https://github.com/JBlond/php-diff/commit/980c7dae06c0ad4b657d75a677a686e95ab600d5)
306263
* add image to README.md [View](https://github.com/JBlond/php-diff/commit/0432f781a7fa856a42a4b65bfc50bf2eef349f88)
307264
* added example code from https://github.com/JBlond/php-diff/issues/1 [View](https://github.com/JBlond/php-diff/commit/258b976df713f99bd0dc4c2670c8aaca2d25b136)
308265
* update copyright [View](https://github.com/JBlond/php-diff/commit/14b612c923965f0ae23d5a4e780967554467eddd)
309266
* Handle side by side title customization [View](https://github.com/JBlond/php-diff/commit/d620b8cdf8a9aefd79216c30735688dd93cb6aff)
310267
* Update README.md [View](https://github.com/JBlond/php-diff/commit/85159678418e08421de78da52a00604fdb91371a)
311-
312-
## v1.1 (2017-05-05)
313-
268+
## v1.1 ('2017-05-05')
314269
* Add in working ignoreWhitespace and ignoreCase options (self-describing), fix up an issue where a diff of two files exactly the same would show the last $context lines, general cleanup [View](https://github.com/JBlond/php-diff/commit/690419df5fd91536da2db94224fcdff31f5f1074)
315270
* Fix links [View](https://github.com/JBlond/php-diff/commit/2c38d0ea7a42438b649e3734dafcaaf830364b8b)
316271
* Add missing docblock. Rename isLineDifferent to linesAreDifferent [View](https://github.com/JBlond/php-diff/commit/516c4be3abf98d3fa3740bdd709a229e60c74df0)
317272
* Fix an issue with insertions being skipped. [View](https://github.com/JBlond/php-diff/commit/b13d23daff71a02388b4c78ba515dd366460c7cb)
318273
* adding composer manifest to distribute as a library [View](https://github.com/JBlond/php-diff/commit/9083bd6433a1c5ca1ce0d1752513fff1f97ab539)
274+
* Added note about https://github.com/Xiphe/jQuery-Merge-for-php-diff [View](https://github.com/JBlond/php-diff/commit/2ebc51fe6cfd13cd5fc7e491763f67fbc4351059)
319275
* Fix the ignoring of option context [View](https://github.com/JBlond/php-diff/commit/60de296b39a235e8ec7861ad2ed61c0829fbb9ea)
320276
* get rid of PHP warning when custom options are not set [View](https://github.com/JBlond/php-diff/commit/bf3353ccc44a2b71d88234dc6fef7750d4b93c37)
321277
* Rename README to README.md [View](https://github.com/JBlond/php-diff/commit/d9242f7a72231fe78d47302ca5d5217ca16cef80)
@@ -365,5 +321,4 @@
365321
* Add ability not to expand tabs [View](https://github.com/JBlond/php-diff/commit/f5da1269313903f11db05a1969e40bf1d8ea2f4a)
366322
* add missing doc blocks [View](https://github.com/JBlond/php-diff/commit/d3b9a638bb8bd2d497b49f4b1fd9a37cbfaf8f01)
367323
* update json file [View](https://github.com/JBlond/php-diff/commit/b587d23e59c91c57051c12a0333006cbb1f31a24)
368-
* visibility [View](https://github.com/JBlond/php-diff/commit/d3eb3ab45c46b07db680815d6fa4f0b28f89e886)
369-
324+
* visibility [View](https://github.com/JBlond/php-diff/commit/d3eb3ab45c46b07db680815d6fa4f0b28f89e886)

changelog.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
$output = "# changelog\n\n";
4+
5+
$previousTag = 0;
6+
7+
$gitTags = shell_exec("git tag --sort=-creatordate");
8+
$gitTagsArray = explode("\n", $gitTags);
9+
10+
foreach ($gitTagsArray as $gitTag) {
11+
if ($previousTag !== 0 && $gitTag !== '') {
12+
$tagDate = shell_exec("git log -1 --pretty=format:'%ad' --date=short $previousTag");
13+
$output .= "## $previousTag ($tagDate)\n\n";
14+
$cmd = 'git log ' .
15+
$gitTag . '...' .
16+
$previousTag .
17+
' --no-merges --pretty=format:"* %s" --reverse';
18+
$logLine = shell_exec($cmd);
19+
$logLine = preg_replace('/(?m)(.*)(\R?\n\1)+$/', '$1', $logLine);
20+
$output .= $logLine . "\n";
21+
}
22+
$previousTag = $gitTag;
23+
$output .= "\n\n";
24+
}
25+
26+
file_put_contents('changelog.md', $output);

changelog.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)