Skip to content

Publish App Release

Publish App Release #1

Workflow file for this run

name: Publish App Release
on:
push:
tags:
- "app-v*"
workflow_dispatch:
jobs:
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]
with:
command: release publish ${{ secrets.CN_APP_SLUG }} --framework tauri
api-key: ${{ secrets.CN_API_KEY }}
path: ./examples/apps/screenpipe-app-tauri/src-tauri