Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Feb 1, 2024
1 parent 2bfd345 commit 6af6f21
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ jobs:
projectPath: packages/desktop
args: --target ${{ matrix.tauri_target }}

- run: |
- name: Clean up file names
run: |
mkdir tmp
for f in ${{ join(fromJSON(steps.tauri.outputs.artifactPaths), ' ') }}; do
mv "$f" "tmp/tauri.${f##*.}"
ARTIFACTS=$(echo "${{ steps.tauri.outputs.artifactPaths }}" | jq -r '.[]')
for ARTIFACT in ARTIFACTS; do
mv "$ARTIFACT" "tmp/tauri.${ARTIFACT##*.}"
done
shell: bash

Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
with:
path: tmp
pattern: bundle-*
merge-multiple: true

- uses: glzr-io/actions/semantic-release@main
with:
Expand All @@ -34,12 +33,24 @@ jobs:
gh-assets: |
[
{
"path": "artifacts/win-x64/GlazeWM.exe",
"name": "GlazeWM_x64_${nextRelease.gitTag}"
"path": "tmp/x86_64-pc-windows-msvc/tauri.msi",
"name": "Zebar_x64_${nextRelease.gitTag}.msi"
},
{
"path": "artifacts/win-x86/GlazeWM.exe",
"name": "GlazeWM_x86_${nextRelease.gitTag}"
"path": "tmp/i686-pc-windows-msvc/tauri.msi",
"name": "Zebar_x86_${nextRelease.gitTag}.msi"
},
{
"path": "tmp/universal-apple-darwin/tauri.dmg",
"name": "Zebar_${nextRelease.gitTag}.dmg"
},
{
"path": "tmp/x86_64-unknown-linux-gnu/tauri.deb",
"name": "Zebar_x64_${nextRelease.gitTag}.deb"
},
{
"path": "tmp/x86_64-unknown-linux-gnu/tauri.AppImage",
"name": "Zebar_x64_${nextRelease.gitTag}.AppImage"
}
]
npm-publish: true
Expand Down

0 comments on commit 6af6f21

Please sign in to comment.