Updated CI

This commit is contained in:
Maurus Decimus
2026-04-20 15:14:54 +02:00
parent 4470616775
commit af2b833e99
3 changed files with 49 additions and 1 deletions
+35 -1
View File
@@ -34,7 +34,41 @@ jobs:
working-directory: dist
run: zip -r ../webui.zip .
- name: Upload release asset
- name: Build release body
run: |
awk '/^## \[/{c++} c==1' CHANGELOG.md > release_body.md
- name: Release
uses: softprops/action-gh-release@v3
with:
files: webui.zip
body_path: release_body.md
# Tag-push releases are created as drafts; the `publish` job un-drafts
# them only after the build succeeds, so watcher notifications don't
# fire on broken builds.
draft: true
publish:
name: Publish release
needs: [build]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Un-draft release
env:
GH_TOKEN: ${{ github.token }}
run: gh release edit "${{ github.ref_name }}" --draft=false --latest --repo "${{ github.repository }}"
cleanup:
name: Cleanup failed release
needs: [build]
if: failure()
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Delete draft release and tag
env:
GH_TOKEN: ${{ github.token }}
run: gh release delete "${{ github.ref_name }}" --yes --cleanup-tag --repo "${{ github.repository }}" || true
+1
View File
@@ -26,4 +26,5 @@ dist-ssr
scripts/
*.md
!README.md
!CHANGELOG.md
/SPEC-*
+13
View File
@@ -0,0 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
## [0.1.0] - 2026-04-20
### Added
- Initial release.
### Changed
### Fixed