ffurrer2 / extract-release-notes

A GitHub Action to extract release notes from a "Keep a Changelog" formatted changelog file
MIT License
64 stars 25 forks source link

Reduce of empty array with no initial value #288

Closed tiamed closed 1 year ago

tiamed commented 1 year ago

https://github.com/ffurrer2/extract-release-notes/blob/9237796aff72c21dcf921e825b79e04b3ec90657/src/index.js#L57

image
sanjacob commented 1 year ago

Surround your version numbers with []

vmsaif commented 1 year ago

I am having this issue.

This is my CHANGELOG.md in the project root dir

# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]

## [v1.1.0] - 2023-09-03

### Added

- added reset button to reset the game

## [v1.0.0] - 2023-09-03

### Added

- Initial release.

in my workflow

    - name: Extract release notes
      id: extract-release-notes
      uses: ffurrer2/extract-release-notes@v1.17.0

error:

Run ffurrer2/extract-release-notes@v1.17.0
Error: Reduce of empty array with no initial value
sanjacob commented 1 year ago

I believe you arent supposed to have v before the version numbers