Skip to content

Commit 39da19e

Browse files
committed
Update release workflow to handle CHANGELOG updates and improve error handling
1 parent 3b83f2e commit 39da19e

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ jobs:
5050
- name: Update CHANGELOG
5151
id: changelog
5252
uses: requarks/changelog-action@v1
53+
continue-on-error: true
5354
with:
5455
token: ${{ github.token }}
55-
fromTag: "1.0.0"
56-
toTag: ${{ github.ref_name }}
56+
tag: ${{ github.ref_name }}
5757

5858
- name: Commit CHANGELOG.md
59+
if: steps.changelog.outcome == 'success'
5960
uses: stefanzweifel/git-auto-commit-action@v7
6061
with:
6162
branch: main
@@ -69,7 +70,7 @@ jobs:
6970
name: "v.${{ github.ref_name }}"
7071
draft: true
7172
generate_release_notes: true
72-
body_path: INSTALL.md
73+
body: ${{ steps.changelog.outputs.changes || 'See commit history for changes.' }}
7374
files: .output/*.zip
7475

7576
- name: Submit to stores

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
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).
7+
8+
## [1.1.0] - 2025-12-30
9+
10+
### Added
11+
- Initial release features
12+
- Gmail alias generation with plus addressing
13+
- Preset management
14+
- Keyboard shortcuts
15+
- Statistics tracking
16+
17+
### Changed
18+
- Updated dependencies
19+
20+
### Fixed
21+
- Bug fixes and improvements
22+
23+
## [1.0.0] - 2025-12-30
24+
25+
### Added
26+
- Initial release

0 commit comments

Comments
 (0)