Skip to content

Commit

Permalink
Fix ChangelogTasks for empty lines (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrofigo authored and matkoch committed May 15, 2023
1 parent d88663b commit c03b4ae
Show file tree
Hide file tree
Showing 20 changed files with 691 additions and 7 deletions.
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.
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
}
]
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
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
}
]
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.
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
}
]
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
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
}
]
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
Loading

0 comments on commit c03b4ae

Please sign in to comment.