Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

add ci to generate changelog for app

Louis Beaumontf8a552f5b891
diff --git a/.github/workflows/publish-app.yml b/.github/workflows/publish-app.yml
index 3504acfc8..eac0b1f62 100644
--- a/.github/workflows/publish-app.yml
+++ b/.github/workflows/publish-app.yml
@@ -1,14 +1,34 @@
name: Publish App Release
on:
+ push:
+ tags:
+ - "app-v*"
workflow_dispatch:
jobs:
- publish:
+ publish-tauri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Get version from tag
+ id: get_version
+ run: echo "VERSION=${GITHUB_REF#refs/tags/app-v}" >> $GITHUB_OUTPUT
+ if: startsWith(github.ref, 'refs/tags/')
+
+ - name: Create GitHub Release
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ gh release create app-v${{ steps.get_version.outputs.VERSION }} \
+ --title "App Release ${{ steps.get_version.outputs.VERSION }}" \
+ --generate-notes \
+ --draft=false \
+ --prerelease=false
- name: Publish Release
uses: crabnebula-dev/[email protected]