-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ChangelogTasks for empty lines (#1130)
- Loading branch information
1 parent
d88663b
commit c03b4ae
Showing
20 changed files
with
691 additions
and
7 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_1.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Some text at the top of the changelog file. | ||
|
||
# Changelog | ||
|
||
This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- Added something | ||
|
||
### Fixed | ||
|
||
- Fixed something | ||
|
||
## [1.4.0] - 2023-01-05 | ||
|
||
### Added | ||
|
||
- First item | ||
- Second item | ||
|
||
### Changed | ||
|
||
- Fixed something | ||
- Fixed something else | ||
|
||
## [1.0.0] - 2023-01-03 | ||
|
||
### Removed | ||
|
||
- Removed something | ||
|
||
## [0.2.0] - 2023-01-02 | ||
|
||
### Added | ||
|
||
- Some text that spans | ||
multiple lines | ||
- A text on a single line | ||
|
||
## [0.1.0] - 2023-01-01 | ||
|
||
### Added | ||
|
||
- Added something | ||
|
||
Some text at the end of the changelog file. |
84 changes: 84 additions & 0 deletions
84
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_1.verified.txt
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,84 @@ | ||
[ | ||
{ | ||
IsEmpty: false, | ||
Unreleased: true, | ||
Notes: [ | ||
, | ||
### Added, | ||
, | ||
- Added something, | ||
, | ||
### Fixed, | ||
, | ||
- Fixed something, | ||
|
||
], | ||
StartIndex: 6, | ||
EndIndex: 15 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 1.4.0, | ||
Notes: [ | ||
, | ||
### Added, | ||
, | ||
- First item, | ||
- Second item, | ||
, | ||
### Changed, | ||
, | ||
- Fixed something, | ||
- Fixed something else, | ||
|
||
], | ||
StartIndex: 16, | ||
EndIndex: 27 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 1.0.0, | ||
Notes: [ | ||
, | ||
### Removed, | ||
, | ||
- Removed something, | ||
|
||
], | ||
StartIndex: 28, | ||
EndIndex: 33 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 0.2.0, | ||
Notes: [ | ||
, | ||
### Added, | ||
, | ||
- Some text that spans, | ||
multiple lines, | ||
- A text on a single line, | ||
|
||
], | ||
StartIndex: 34, | ||
EndIndex: 41 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 0.1.0, | ||
Notes: [ | ||
, | ||
### Added, | ||
, | ||
- Added something, | ||
, | ||
Some text at the end of the changelog file. | ||
], | ||
StartIndex: 42, | ||
EndIndex: 48 | ||
} | ||
] |
19 changes: 19 additions & 0 deletions
19
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_2.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Changelog | ||
|
||
This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- Some text that spans | ||
multiple lines | ||
|
||
- A text on a single line | ||
|
||
|
||
## [1.0.0] - 2023-01-01 | ||
|
||
### Fixed | ||
|
||
- Fixed something |
32 changes: 32 additions & 0 deletions
32
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_2.verified.txt
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,32 @@ | ||
[ | ||
{ | ||
IsEmpty: false, | ||
Unreleased: true, | ||
Notes: [ | ||
, | ||
### Added, | ||
, | ||
- Some text that spans, | ||
multiple lines, | ||
, | ||
- A text on a single line, | ||
, | ||
|
||
], | ||
StartIndex: 4, | ||
EndIndex: 13 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 1.0.0, | ||
Notes: [ | ||
, | ||
### Fixed, | ||
, | ||
- Fixed something | ||
], | ||
StartIndex: 14, | ||
EndIndex: 18 | ||
} | ||
] |
53 changes: 53 additions & 0 deletions
53
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_3.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Some text at the top of the changelog file. | ||
|
||
# Changelog | ||
|
||
This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- Added something | ||
|
||
### Fixed | ||
|
||
- Fixed something | ||
|
||
## [1.4.0] - 2023-01-05 | ||
|
||
### Added | ||
|
||
|
||
|
||
|
||
- First item | ||
|
||
- Second item | ||
|
||
### Changed | ||
|
||
- Fixed something | ||
- Fixed something else | ||
|
||
## [1.0.0] - 2023-01-03 | ||
|
||
### Removed | ||
|
||
- Removed something | ||
|
||
## [0.2.0] - 2023-01-02 | ||
|
||
### Added | ||
|
||
- Some text that spans | ||
multiple lines | ||
- A text on a single line | ||
|
||
## [0.1.0] - 2023-01-01 | ||
|
||
### Added | ||
|
||
- Added something | ||
|
||
Some text at the end of the changelog file. |
88 changes: 88 additions & 0 deletions
88
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_3.verified.txt
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,88 @@ | ||
[ | ||
{ | ||
IsEmpty: false, | ||
Unreleased: true, | ||
Notes: [ | ||
, | ||
### Added, | ||
, | ||
- Added something, | ||
, | ||
### Fixed, | ||
, | ||
- Fixed something, | ||
|
||
], | ||
StartIndex: 6, | ||
EndIndex: 15 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 1.4.0, | ||
Notes: [ | ||
, | ||
### Added , | ||
, | ||
, | ||
, | ||
, | ||
- First item, | ||
, | ||
- Second item, | ||
, | ||
### Changed, | ||
, | ||
- Fixed something, | ||
- Fixed something else, | ||
|
||
], | ||
StartIndex: 16, | ||
EndIndex: 31 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 1.0.0, | ||
Notes: [ | ||
, | ||
### Removed, | ||
, | ||
- Removed something, | ||
|
||
], | ||
StartIndex: 32, | ||
EndIndex: 37 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 0.2.0, | ||
Notes: [ | ||
, | ||
### Added, | ||
, | ||
- Some text that spans, | ||
multiple lines, | ||
- A text on a single line, | ||
|
||
], | ||
StartIndex: 38, | ||
EndIndex: 45 | ||
}, | ||
{ | ||
IsEmpty: false, | ||
Unreleased: false, | ||
Version: 0.1.0, | ||
Notes: [ | ||
, | ||
### Added, | ||
, | ||
- Added something, | ||
, | ||
Some text at the end of the changelog file. | ||
], | ||
StartIndex: 46, | ||
EndIndex: 52 | ||
} | ||
] |
7 changes: 7 additions & 0 deletions
7
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_4.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changelog | ||
This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
## [Unreleased] | ||
### Added | ||
- Some text that spans | ||
multiple lines | ||
- A text on a single line |
14 changes: 14 additions & 0 deletions
14
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_4.verified.txt
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,14 @@ | ||
[ | ||
{ | ||
IsEmpty: false, | ||
Unreleased: true, | ||
Notes: [ | ||
### Added, | ||
- Some text that spans, | ||
multiple lines, | ||
- A text on a single line | ||
], | ||
StartIndex: 2, | ||
EndIndex: 6 | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
...uke.Common.Tests/ChangelogReferenceFiles/changelog_reference_1.0.0_variant_5.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
## [Unreleased] | ||
### Added | ||
- Some text that spans | ||
multiple lines | ||
- A text on a single line | ||
## [0.2.3] - 2023-01-02 | ||
### Fixed | ||
- Fixed something |
Oops, something went wrong.