Skip to content

Commit

Permalink
Add initial changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed May 23, 2024
1 parent 618d1e1 commit 815526e
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,27 @@ jobs:
# root path
path: docs
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
changelog:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get version from tag
id: changelog_version
run: |
if [[ "$GITHUB_REF" == "refs/tags/*" ]]; then
echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
else
echo "version=Unreleased" >> $GITHUB_OUTPUT
fi
- name: Get changelog entry
id: changelog
uses: mindsers/changelog-reader-action@v2
with:
validation_level: error
# version: ${{ github.ref }}
version: ${{ steps.changelog_version.outputs.version }}
path: ./CHANGELOG.md

deploy:
name: Deploy package
Expand All @@ -92,7 +113,7 @@ jobs:
tag: ${{ github.ref }}
overwrite: true
file_glob: true
# body: "This is my release text"
# body: ${{ steps.changelog.outputs.changes }}
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
Expand Down
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Changelog

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

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- Improved e2e tests
- Stabilized text mapper
- Stabilized chord mapper
- Documentation for text and chord mappers
- New changelog
- Github actions CI for release notes

### Fixed

- Text mapper bugs
- Documentation cleanup

## [2.1.17] - 2024-05-32

### Added

- Improved e2e tests
- Stabilized text mapper
- Stabilized chord mapper
- Documentation for text and chord mappers
- New changelog
- Github actions CI for release notes

### Fixed

- Text mapper bugs
- Documentation cleanup

0 comments on commit 815526e

Please sign in to comment.