Skip to content

Commit 0d707aa

Browse files
committed
build: add git cliff configuration
Signed-off-by: BoxBoxJason <[email protected]>
1 parent ffce8f9 commit 0d707aa

File tree

5 files changed

+302
-197
lines changed

5 files changed

+302
-197
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17+
- name: Generate a changelog
18+
uses: orhun/git-cliff-action@v4
19+
id: git-cliff
20+
with:
21+
config: cliff.toml
22+
args: -vv --latest --strip header
23+
env:
24+
OUTPUT: CHANGELOG.md
25+
GITHUB_REPO: ${{ github.repository }}
26+
1727
- name: Set up Node
1828
uses: actions/setup-node@v6
1929
with:
@@ -27,22 +37,10 @@ jobs:
2737
run: npm run package
2838

2939
- name: Create GitHub Release
30-
id: create_release
31-
uses: actions/create-release@v1
32-
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
uses: softprops/action-gh-release@v2
3441
with:
35-
tag_name: ${{ github.ref_name }}
36-
release_name: Achievements ${{ github.ref_name }}
42+
body: ${{ steps.git-cliff.outputs.content }}
3743
draft: false
38-
prerelease: false
39-
40-
- name: Upload VSIX artifact
41-
uses: actions/upload-release-asset@v1
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
with:
45-
upload_url: ${{ steps.create_release.outputs.upload_url }}
46-
asset_path: ./achievements-${{ github.ref_name }}.vsix
47-
asset_name: achievements-${{ github.ref_name }}.vsix
48-
asset_content_type: application/vsix
44+
prerelease: ${{ contains(github.ref_name, '-rc') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-alpha') }}
45+
generate_release_notes: true
46+
files: achievements-${{ github.ref_name }}.vsix

CHANGELOG.md

Lines changed: 111 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -2,144 +2,143 @@
22

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

5-
## [0.2.0] - 2025-11-24
6-
7-
### 🚀 Features
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
87

9-
- Add connection streak achievement
8+
## [0.3.0] - 2026-01-02
109

11-
## [0.1.2] - 2025-11-22
10+
### Added
11+
- Add git cliff configuration
12+
- Add database lockfile
1213

13-
### 📚 Documentation
14+
### Changed
15+
- Optimize database & queries
16+
- Upgrade all
1417

15-
- Add CHANGELOG for vsce publish
16-
- Add license
17-
- Add icon
18+
### Fixed
19+
- Code monkey progression
1820

19-
## [0.1.1] - 2025-11-22
21+
## [0.2.0] - 2025-11-24
2022

21-
### 🐛 Bug Fixes
23+
### Added
24+
- Add connection streak achievement
2225

23-
- Display text alignment
26+
## [0.1.2] - 2025-11-23
2427

25-
### 💼 Other
28+
### Added
29+
- Add icon
30+
- Add license
31+
- Add CHANGELOG for vsce publish
2632

27-
- Remove useless deps
33+
## [0.1.1] - 2025-11-22
2834

29-
### 🚜 Refactor
35+
### Added
36+
- Add unit tests
37+
- Add renovate configuration file
3038

39+
### Changed
3140
- Migrate from better-sqlite3 to sql.js
41+
- Update dependency node to v24
42+
- Update all-dependencies
43+
- Update all-dependencies
44+
- Update actions/setup-node action to v6
3245

33-
### 🧪 Testing
34-
35-
- Add unit tests
36-
37-
### ⚙️ Miscellaneous Tasks
46+
### Fixed
47+
- Display text alignment
3848

49+
### Removed
50+
- Remove useless deps
3951
- Remove dependabot
4052

4153
## [0.1.0] - 2025-09-29
4254

43-
### 🚀 Features
44-
45-
- Add achievements creating classes
46-
- Create all productivity stacking templates
47-
- Create files stacking templates
48-
- Standardize points attribution
49-
- Add vscode specific logger module
50-
- Add new achievements linked constants
51-
- Add config manager module (specific to vscode)
52-
- Add separate db migrations manager module
53-
- Move and upgrade Achievements model
54-
- Create progression management model
55-
- Add separate database populate module
56-
- Add extensions commands
57-
- Create proper achievements workflow controller
58-
- Add pusheen icons
59-
- Add skeleton for Achievements react webview
60-
- Add toggle notifications command
61-
- Add generic AchievementRequirement SQL script
62-
- Upgrade achievement model
63-
- Upgrade Achievements controller
64-
- Create Achievement webview page
65-
- Add separate module to handle frontend requests
66-
- Add containers styling
67-
- First UI release
68-
- Update logger module to accept any length / type arguments
69-
- Fix progressions model & controller workflow
70-
- Add resource creation / deletion listeners
71-
- Add git related achievements listeners
72-
- Add time time tracking
73-
- Add webview profile section
74-
- UX
75-
- Add terminal event listeners
76-
- Add tab events listeners
77-
- Add extensions listeners
78-
- Add debug listeners
79-
- Add new file edited listeners
80-
- Condition listeners setup
81-
- Proper image packaging
82-
- Add creator achievements logos
83-
- Style using tailwindcss
84-
- Add git achievements icons
85-
- Add terminal tasks icons
86-
- Add files icons
87-
- Add debugger icons
88-
- Add shortcuts icons
89-
- Add extensions icons
90-
- Add productivity icons
55+
### Added
56+
- Add publish workflows
9157
- Add (temporary) speaker icons
58+
- Add productivity icons
59+
- Add extensions icons
60+
- Add shortcuts icons
61+
- Add debugger icons
62+
- Add files icons
63+
- Add terminal tasks icons
64+
- Add git achievements icons
65+
- Add creator achievements logos
66+
- Add new file edited listeners
67+
- Add debug listeners
68+
- Add extensions listeners
69+
- Add tab events listeners
70+
- Add terminal event listeners
71+
- Add webview profile section
72+
- Add time time tracking
73+
- Add docstrings everywhere
74+
- Add git related achievements listeners
75+
- Add resource creation / deletion listeners
76+
- Add containers styling
77+
- Add separate module to handle frontend requests
78+
- Add generic AchievementRequirement SQL script
79+
- Add toggle notifications command
80+
- Add proper README
81+
- Add skeleton for Achievements react webview
82+
- Add pusheen icons
83+
- Add extensions commands
84+
- Add separate database populate module
85+
- Add separate db migrations manager module
86+
- Add config manager module (specific to vscode)
87+
- Add new achievements linked constants
88+
- Add vscode specific logger module
89+
- Add achievements creating classes
9290

93-
### 🐛 Bug Fixes
94-
95-
- Leave error messages in lowercase
96-
- Errors in some default achievements
97-
- Change some constants to enums & fix awarder
98-
- Issues fix
99-
100-
### 💼 Other
101-
102-
- Default vscode extension setup
103-
- House cleaning
104-
- House cleaning
105-
- Prepare release
106-
- *(deps)* Upgrade all dependencies
91+
### Changed
92+
- Update changelog and install
10793
- Complete build method
108-
109-
### 🚜 Refactor
110-
111-
- Replace Python achievements builder with typescript
112-
- [**breaking**] Update model to use better-sqlite3
113-
- Move logger module
114-
- Move communication / requests to proper spots
115-
- Yet another achievements model rework
116-
- [**breaking**] Rename points to EXP
117-
- [**breaking**] Replace terminal by tasks
94+
- Upgrade all dependencies
95+
- Configuration
96+
- Apply code formatters
97+
- Prepare release
98+
- Style using tailwindcss
99+
- Proper image packaging
100+
- Condition listeners setup
118101
- Move settings from raw JSON to VSCode
119-
120-
### 📚 Documentation
121-
122-
- Add proper README
123-
- Add docstrings everywhere
124102
- Update project description
125-
- Update changelog and install
126-
127-
### ⚡ Performance
128-
129-
- Upgrade achievements model (100x speedup)
130-
- Upgrade progressions model (100x speedup)
103+
- Replace terminal by tasks
104+
- Rename points to EXP
131105
- Cleanup db init to iterate over StackingTemplates
132-
133-
### 🎨 Styling
134-
106+
- UX
107+
- Update logger module to accept any length / type arguments
108+
- First UI release
109+
- Upgrade progressions model (100x speedup)
110+
- Yet another achievements model rework
111+
- Upgrade achievements model (100x speedup)
112+
- Move communication / requests to proper spots
113+
- Move logger module
114+
- Create Achievement webview page
115+
- Upgrade Achievements controller
116+
- Upgrade achievement model
117+
- House cleaning
118+
- House cleaning
119+
- Create proper achievements workflow controller
135120
- Standardize StackingTemplates
136-
- Apply code formatters
121+
- Create progression management model
122+
- Move and upgrade Achievements model
123+
- Update model to use better-sqlite3
124+
- Housekeeping
125+
- Prepare build & config for better-sqlite3
126+
- Replace Python achievements builder with typescript
127+
- Standardize points attribution
128+
- Create files stacking templates
129+
- Create all productivity stacking templates
130+
- Default vscode extension setup
137131

138-
### ⚙️ Miscellaneous Tasks
132+
### Fixed
133+
- Issues fix
134+
- Change some constants to enums & fix awarder
135+
- Errors in some default achievements
136+
- Fix progressions model & controller workflow
137+
- Leave error messages in lowercase
139138

140-
- Prepare build & config for better-sqlite3
141-
- Housekeeping
142-
- *(dependabot)* Configuration
143-
- Add publish workflows
139+
[0.3.0]: https://github.com///compare/0.2.0...0.3.0
140+
[0.2.0]: https://github.com///compare/0.1.2...0.2.0
141+
[0.1.2]: https://github.com///compare/0.1.1...0.1.2
142+
[0.1.1]: https://github.com///compare/0.1.0...0.1.1
144143

145144
<!-- generated by git-cliff -->

0 commit comments

Comments
 (0)