Skip to content

Commit 1fa15fd

Browse files
author
Stephan Dilly
committed
add a decent changelog plus automation
1 parent e7f0db2 commit 1fa15fd

File tree

4 files changed

+55
-2
lines changed

4 files changed

+55
-2
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,13 @@ jobs:
4848
run: |
4949
echo ::set-output name=sha::"$(shasum -a 256 ./release/gitui-mac.tar.gz | awk '{printf $1}')"
5050
51+
- name: Extract release notes
52+
id: release_notes
53+
uses: ffurrer2/extract-release-notes@v1
5154
- name: Release
5255
uses: softprops/action-gh-release@v1
5356
with:
54-
#body: 'changelog '
57+
body: ${{ steps.release_notes.outputs.release_notes }}
5558
prerelease: true
5659
files: |
5760
./release/*.tar.gz

.github/workflows/changes.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: changestest
2+
3+
on:
4+
push:
5+
branches: [ '*' ]
6+
7+
jobs:
8+
log-test:
9+
name: Changelog Test
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Extract release notes
14+
id: extract_release_notes
15+
uses: ffurrer2/extract-release-notes@v1
16+
with:
17+
release_notes_file: ./release-notes.txt
18+
- uses: actions/upload-artifact@v1
19+
with:
20+
name: release-notes
21+
path: ./release-notes.txt

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ jobs:
6060
- uses: actions/checkout@v2
6161
- uses: actions-rs/audit-check@v1
6262
with:
63-
token: ${{ secrets.GITHUB_TOKEN }}
63+
token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
### Added
9+
- introduced proper changelog
10+
11+
### Changed
12+
- improve ctrl+c handling so it is checked first and no component needs to worry of blocking it
13+
14+
## [0.2.3] - 2020-05-12
15+
### Added
16+
- support more navigation keys: home/end/pageUp/pageDown (#43)
17+
- highlight current tab a bit better
18+
19+
## [0.2.2] - 2020-05-10
20+
### Added
21+
- show tags in commit log (#47)
22+
- support home/end key in diff (#43)
23+
24+
### Changed
25+
- close application shortcut is now the standard `ctrl+c`
26+
- some diff improvements (#42)
27+
28+
### Fixed
29+
- document tab key to switch tabs (#48)

0 commit comments

Comments
 (0)