File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,12 +240,13 @@ jobs:
240240 # Remove original unsigned package
241241 rm -f *.tar.gz
242242
243- # Get project version from CMakeLists.txt
244- VERSION=$(grep 'VERSION [0-9]' ../CMakeLists.txt | head -1 | sed 's/.*VERSION \([0-9.]*\).*/\1/')
245- echo "Detected version: $VERSION"
243+ # Get project version from CMakeLists.txt (match the project() block, not cmake_minimum_required)
244+ VERSION=$(grep -A1 'project(MCCOutlet' ../CMakeLists.txt | grep VERSION | sed 's/.*VERSION \([0-9.]*\).*/\1/')
245+ ARCH=$(uname -m)
246+ echo "Detected version: $VERSION, arch: $ARCH"
246247
247- # Create signed package (universal binary)
248- tar -cvzf "MCCOutlet-${VERSION}-macOS_universal -signed.tar.gz" \
248+ # Create signed package
249+ tar -cvzf "MCCOutlet-${VERSION}-macOS_${ARCH} -signed.tar.gz" \
249250 MCCOutlet.app MCCOutletCLI Frameworks
250251
251252 echo "Created package:"
You can’t perform that action at this time.
0 commit comments