@@ -355,25 +355,23 @@ jobs:
355355 - name : Create initial CHANGELOG.md if not exists
356356 if : steps.check-changelog.outputs.exists == 'false'
357357 run : |
358- cat > CHANGELOG.md << 'EOF'
359- # Changelog
360-
361- All notable changes to this project will be documented in this file.
362-
363- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
364- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
365-
366- # # [Unreleased]
367-
368- # ## Added
369-
370- # ## Changed
371-
372- # ## Fixed
373-
374- # ## Removed
375-
376- EOF
358+ echo "# Changelog" > CHANGELOG.md
359+ echo "" >> CHANGELOG.md
360+ echo "All notable changes to this project will be documented in this file." >> CHANGELOG.md
361+ echo "" >> CHANGELOG.md
362+ echo "The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)," >> CHANGELOG.md
363+ echo "and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)." >> CHANGELOG.md
364+ echo "" >> CHANGELOG.md
365+ echo "## [Unreleased]" >> CHANGELOG.md
366+ echo "" >> CHANGELOG.md
367+ echo "### Added" >> CHANGELOG.md
368+ echo "" >> CHANGELOG.md
369+ echo "### Changed" >> CHANGELOG.md
370+ echo "" >> CHANGELOG.md
371+ echo "### Fixed" >> CHANGELOG.md
372+ echo "" >> CHANGELOG.md
373+ echo "### Removed" >> CHANGELOG.md
374+ echo "" >> CHANGELOG.md
377375
378376 - name : Update CHANGELOG.md
379377 id : update-changelog
0 commit comments