Skip to content

Commit

Permalink
release: include payload only in osx-arm64 tarball (#1458)
Browse files Browse the repository at this point in the history
Only include the payload (binaries) in the tar.gz archive for osx-arm64.
Previously this was including the parent directory that captured the
payload, pkg, and symbol subdirectories and children.

The osx-x64 tar.gz archive is already correctly only containing the
payload.

**Illustration of discrepancy**

```text
% tree -L 1 gcm-osx-arm64-2.4.0
gcm-osx-arm64-2.4.0
├── payload
├── pkg
└── symbols

4 directories, 0 files
% tree -L 1 gcm-osx-x64-2.4.0  
gcm-osx-x64-2.4.0
├── Atlassian.Bitbucket.dll
├── Avalonia.Base.dll
├── Avalonia.Controls.dll
├── Avalonia.DesignerSupport.dll
├── Avalonia.Desktop.dll
├── Avalonia.Dialogs.dll
├── Avalonia.FreeDesktop.dll
├── Avalonia.Markup.Xaml.dll
...
```
  • Loading branch information
mjcheetham authored Nov 1, 2023
2 parents 3a60ecf + b221b62 commit 76ab2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ jobs:
tar -C macos-osx-x64-artifacts/payload -czf osx-payload-and-symbols/gcm-osx-x64-$version.tar.gz .
tar -C macos-osx-x64-artifacts/symbols -czf osx-payload-and-symbols/gcm-osx-x64-$version-symbols.tar.gz .
tar -C macos-osx-arm64-artifacts -czf osx-payload-and-symbols/gcm-osx-arm64-$version.tar.gz .
tar -C macos-osx-arm64-artifacts/payload -czf osx-payload-and-symbols/gcm-osx-arm64-$version.tar.gz .
tar -C macos-osx-arm64-artifacts/symbols -czf osx-payload-and-symbols/gcm-osx-arm64-$version-symbols.tar.gz .
- name: Archive Windows payload and symbols
Expand Down

0 comments on commit 76ab2bc

Please sign in to comment.