Skip to content

Commit 244d4d1

Browse files
bartvwclaude
andcommitted
Add release notes from CHANGELOG.md to GitHub releases
Extract the matching CHANGELOG.md section for each tag and pass it as the release body; generate_release_notes: true serves as a fallback. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 52cfe45 commit 244d4d1

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,21 @@ jobs:
3737
- run: npm ci
3838
- run: npm run build
3939

40+
- name: Extract changelog for ${{ github.ref_name }}
41+
id: changelog
42+
run: |
43+
body=$(awk '/^## \['"${GITHUB_REF_NAME}"'\]/{found=1; next} found && /^## \[/{exit} found{print}' CHANGELOG.md)
44+
{
45+
echo "body<<EOF"
46+
echo "$body"
47+
echo "EOF"
48+
} >> "$GITHUB_OUTPUT"
49+
4050
- name: Create release and upload assets
4151
uses: softprops/action-gh-release@v2
4252
with:
53+
body: ${{ steps.changelog.outputs.body }}
54+
generate_release_notes: true
4355
files: |
4456
main.js
4557
manifest.json

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5+
6+
## [1.0.4] - 2026-03-23
7+
8+
No user-facing changes. Development tooling improvements only.
9+
10+
## [1.0.3] - 2026-03-23
11+
12+
No user-facing changes. Development tooling improvements only.
13+
14+
## [1.0.2] - 2026-03-23
15+
16+
### Fixed
17+
18+
- Entity pill text color now respects the active Obsidian theme instead of always using white.
19+
- Target folder paths configured in settings are now normalized for cross-platform compatibility (mixed slashes, trailing slashes, etc.).
20+
- Settings modal headings now use the standard Obsidian heading style for consistent appearance.
21+
22+
## [1.0.1] - 2026-03-23
23+
24+
### Added
25+
26+
- Inline `→ EntityType` button appears at the end of any line containing a configured trigger tag (e.g. `#project`, `#person`). Clicking it creates a dedicated note and replaces the line with a wikilink.
27+
- Entity pill badge rendered after wikilinks to known entity notes in Live Preview, Source mode, and Reading mode. The pill is visual only — never written to the file.
28+
- **Convert on Enter** setting (default: off). When enabled, pressing Enter at the end of a matched line triggers the conversion and moves the cursor to the next line.
29+
- Five built-in entity types: Person, Idea, Accomplishment, Feedback, Project. All are enabled by default and fully customizable.
30+
- Settings UI to add, edit, and delete entity types. Each type exposes: name, trigger tag, target folder, pill color, enabled toggle, and a frontmatter template for extra fields.
31+
- Created notes include YAML frontmatter: `title`, `entity-type`, `tags`, `created`, and `source-note` (wikilink back to the originating note).
32+
- List items are handled naturally: `- Met Alice #person` becomes `- [[Met Alice]]`.
33+
- Trigger tags inside fenced code blocks and YAML frontmatter are ignored.

0 commit comments

Comments
 (0)