mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-18 01:54:29 -05:00
fix(ci): release files are in workspace root target folder
This commit is contained in:
parent
ded0008328
commit
d01c4d2bc6
1 changed files with 3 additions and 3 deletions
|
|
@ -131,7 +131,7 @@ jobs:
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# Find all release artifacts (excluding .sig files from Tauri updater)
|
# Find all release artifacts (excluding .sig files from Tauri updater)
|
||||||
find src-tauri/target/${{ matrix.target }}/release/bundle -type f \
|
find target/${{ matrix.target }}/release/bundle -type f \
|
||||||
! -name "*.sig" \
|
! -name "*.sig" \
|
||||||
! -name "*.asc" \
|
! -name "*.asc" \
|
||||||
-print0 | while IFS= read -r -d '' file; do
|
-print0 | while IFS= read -r -d '' file; do
|
||||||
|
|
@ -149,11 +149,11 @@ jobs:
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# Find all .asc signature files we just created
|
# Find all .asc signature files we just created
|
||||||
find src-tauri/target/${{ matrix.target }}/release/bundle -type f -name "*.asc" -print0 | while IFS= read -r -d '' sig_file; do
|
find target/${{ matrix.target }}/release/bundle -type f -name "*.asc" -print0 | while IFS= read -r -d '' sig_file; do
|
||||||
echo "Uploading signature: $sig_file"
|
echo "Uploading signature: $sig_file"
|
||||||
# Get just the filename for the asset name
|
# Get just the filename for the asset name
|
||||||
asset_name=$(basename "$sig_file")
|
asset_name=$(basename "$sig_file")
|
||||||
|
|
||||||
gh release upload "${{ github.event.release.tag_name }}" \
|
gh release upload "${{ github.event.release.tag_name }}" \
|
||||||
"$sig_file" \
|
"$sig_file" \
|
||||||
--clobber
|
--clobber
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue