|
| 1 | +Testing the changelog adding script |
| 2 | + |
| 3 | + $ cat > user_response << EOF |
| 4 | + > Changelog description that is long enough to be wrapped to the next line |
| 5 | + > 1234 |
| 6 | + > SomeGithubUser |
| 7 | + > 123 456 789 |
| 8 | + > EOF |
| 9 | + |
| 10 | + $ ./add.exe < user_response |
| 11 | + Hello, let's create a changelog entry! |
| 12 | + What is the change about? |
| 13 | + PR number? (Leave blank if you don't know) |
| 14 | + What is your username? |
| 15 | + Which issue numbers does this change fix? |
| 16 | + |
| 17 | + $ ls doc/changes/unreleased |
| 18 | + 1234_SomeGithubUser |
| 19 | + $ cat doc/changes/unreleased/* |
| 20 | + - Changelog description that is long enough to be wrapped to the next line |
| 21 | + (#1234, fixes #123, #456 and #789, @SomeGithubUser) |
| 22 | + |
| 23 | + |
| 24 | +Testing some edge cases |
| 25 | + |
| 26 | + $ cat > user_response << EOF |
| 27 | + > Changelog description that is long enough to be wrapped to the next line. \ |
| 28 | + > This one takes teh cake for being especially long. |
| 29 | + > |
| 30 | + > AnotherUser |
| 31 | + > |
| 32 | + > EOF |
| 33 | + |
| 34 | + $ ./add.exe < user_response |
| 35 | + Hello, let's create a changelog entry! |
| 36 | + What is the change about? |
| 37 | + PR number? (Leave blank if you don't know) |
| 38 | + What is your username? |
| 39 | + Which issue numbers does this change fix? |
| 40 | + |
| 41 | + $ ls doc/changes/unreleased |
| 42 | + 1234_SomeGithubUser |
| 43 | + ????_AnotherUser |
| 44 | + $ cat doc/changes/unreleased/* |
| 45 | + - Changelog description that is long enough to be wrapped to the next line |
| 46 | + (#1234, fixes #123, #456 and #789, @SomeGithubUser) |
| 47 | + |
| 48 | + - Changelog description that is long enough to be wrapped to the next line. |
| 49 | + This one takes teh cake for being especially long. (#????, @AnotherUser) |
| 50 | + |
0 commit comments