fix: use wrapper directory in release tarballs for mise compatibility
mise auto-detects single-directory archives and extracts with strip_components=1. Using a 'pi/' wrapper directory ensures the internal structure is preserved. Reverts the code workaround (theme dir fallback) in favor of fixing the tarball.
This commit is contained in:
5
.github/workflows/build-binaries.yml
vendored
5
.github/workflows/build-binaries.yml
vendored
@@ -108,9 +108,10 @@ jobs:
|
||||
# Create archives
|
||||
cd binaries
|
||||
|
||||
# Unix platforms (tar.gz)
|
||||
# Unix platforms (tar.gz) - use wrapper directory for mise compatibility
|
||||
# mise auto-detects single-directory archives and strips one component
|
||||
for platform in darwin-arm64 darwin-x64 linux-x64 linux-arm64; do
|
||||
tar -czf pi-$platform.tar.gz -C $platform .
|
||||
mv $platform pi && tar -czf pi-$platform.tar.gz pi && mv pi $platform
|
||||
done
|
||||
|
||||
# Windows (zip)
|
||||
|
||||
Reference in New Issue
Block a user