Files
openconcho/.github/workflows/release.yml
Offending Commit 57f89bc0cb fix(release): wire tauri-action to existing semantic-release GitHub release
- Add repositoryUrl to .releaserc.json so semantic-release can find the repo
  regardless of remote name/SSH alias
- Replace tauri-action tagName/releaseName/releaseBody params with releaseId
  fetched from the existing semantic-release GitHub Release, preventing a
  duplicate release being created on the same tag
2026-04-27 11:59:22 -05:00

31 lines
709 B
YAML

name: Release
on:
push:
tags:
- 'v*'
jobs:
release-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: dtolnay/rust-toolchain@stable
- name: Get release ID
id: get-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
RELEASE_ID=$(gh release view "${{ github.ref_name }}" --json databaseId --jq '.databaseId')
echo "release_id=$RELEASE_ID" >> $GITHUB_OUTPUT
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
releaseId: ${{ steps.get-release.outputs.release_id }}