Skip to content

Commit 9f7c7e1

Browse files
committed
cleanup published artifact, add link to repo
1 parent 2d52902 commit 9f7c7e1

File tree

15 files changed

+45
-1587
lines changed

15 files changed

+45
-1587
lines changed

.github/workflows/main.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- name: Get version from CHANGELOG
1616
id: version
1717
run: |
18-
VERSION=$(grep -m1 -oP '## \[\K[^\]]+' CHANGELOG.md)
18+
VERSION=$(grep -oP '## \[\K[^\]]+' CHANGELOG.md | grep -v Unreleased | head -1)
1919
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
2020
21-
# extract release notes between first and second ## heading
22-
BODY=$(awk '/^## \[/{if(n++)exit}n' CHANGELOG.md)
21+
# extract release notes for the first versioned heading, skipping the header line
22+
BODY=$(awk '/^## \[/ && !/Unreleased/{if(n++)exit;next}n && !/^## \[.*Unreleased/' CHANGELOG.md)
2323
{
2424
echo "body<<RELEASE_EOF"
2525
echo "$BODY"
@@ -29,10 +29,7 @@ jobs:
2929
- name: Check if tag exists
3030
id: check
3131
run: |
32-
VERSION="${{ steps.version.outputs.version }}"
33-
if [ "$VERSION" = "Unreleased" ]; then
34-
echo "exists=true" >> "$GITHUB_OUTPUT"
35-
elif git rev-parse "$VERSION" >/dev/null 2>&1; then
32+
if git rev-parse "${{ steps.version.outputs.version }}" >/dev/null 2>&1; then
3633
echo "exists=true" >> "$GITHUB_OUTPUT"
3734
else
3835
echo "exists=false" >> "$GITHUB_OUTPUT"

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
## [Unreleased]
99

10+
## [0.5.1] - 2026-02-07
11+
1012
### Changed
1113

1214
- Use toggle boxes instead of radio buttons
1315

16+
### Added
17+
18+
- Link back to repo in header
19+
20+
### Removed
21+
22+
- Removed test files from published artifact
23+
- Removed boilerplate icon files and PWA functionality
24+
1425
## [0.5.0] - 2026-02-07
1526

1627
A reduction in final zip size from `250 KB` to `72.2 KB`.

assets/favicon.ico

-14.7 KB
Binary file not shown.

assets/icon.png

-50.3 KB
Binary file not shown.

assets/manifest.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

assets/test/24/config

Lines changed: 0 additions & 203 deletions
This file was deleted.

0 commit comments

Comments
 (0)