diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f87c66..341196e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,21 +41,21 @@ jobs: - name: Create App Store Connect Key file run: echo "${{ secrets.APP_STORE_CONNECT_KEY }}" | base64 -d > /tmp/AuthKey.p8 - - name: Set up signing - run: | - KEYCHAIN="$RUNNER_TEMP/keychain.keychain-db" - KEYCHAIN_PASSWORD=password + # - name: Set up signing + # run: | + # KEYCHAIN="$RUNNER_TEMP/keychain.keychain-db" + # KEYCHAIN_PASSWORD=password - echo "${{ secrets.CERTIFICATE }}" | base64 -d > "$RUNNER_TEMP/Certificate.p12" + # echo "${{ secrets.CERTIFICATE }}" | base64 -d > "$RUNNER_TEMP/Certificate.p12" - security create-keychain -p "$KEYCHAIN_PASSWORD" "$KEYCHAIN" - security set-keychain-settings "$KEYCHAIN" - security unlock-keychain -p "$KEYCHAIN_PASSWORD" "$KEYCHAIN" - security list-keychains -d user -s "$KEYCHAIN" - security import "$RUNNER_TEMP/Certificate.p12" -P "${{ secrets.CERTIFICATE_PASSWORD }}" -A -k "$KEYCHAIN" + # security create-keychain -p "$KEYCHAIN_PASSWORD" "$KEYCHAIN" + # security set-keychain-settings "$KEYCHAIN" + # security unlock-keychain -p "$KEYCHAIN_PASSWORD" "$KEYCHAIN" + # security list-keychains -d user -s "$KEYCHAIN" + # security import "$RUNNER_TEMP/Certificate.p12" -P "${{ secrets.CERTIFICATE_PASSWORD }}" -A -k "$KEYCHAIN" - mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles - cp Release/iOS.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles + # mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles + # cp Release/iOS.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles - name: Select Xcode run: sudo xcode-select -s /Applications/Xcode_16.1_beta.app @@ -70,6 +70,10 @@ jobs: uname -a xcodebuild -version + - uses: actions/checkout@v4 + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + - name: Archive macOS run: xcodebuild -scheme macOS -archivePath macOS.xcarchive archive @@ -102,27 +106,27 @@ jobs: mv visionOS-symbols.zip ../.. ) - - name: Create Release - run: | - version="$(cat Configs/Deployment.xcconfig | grep CURRENT_PROJECT_VERSION | awk '{ print $3 }')" + # - name: Create Release + # run: | + # version="$(cat Configs/Deployment.xcconfig | grep CURRENT_PROJECT_VERSION | awk '{ print $3 }')" - gh release create "v$version" -t "Build $version" -p macOS.zip macOS-symbols.zip visionOS.zip visionOS-symbols.zip + # gh release create "v$version" -t "Build $version" -p macOS.zip macOS-symbols.zip visionOS.zip visionOS-symbols.zip - - name: Upload macOS - run: xcodebuild $XCODEBUILD_EXTRA_ARGS -exportArchive -exportOptionsPlist Release/ExportOptions.plist -archivePath macOS.xcarchive/ -exportPath macOS + # - name: Upload macOS + # run: xcodebuild $XCODEBUILD_EXTRA_ARGS -exportArchive -exportOptionsPlist Release/ExportOptions.plist -archivePath macOS.xcarchive/ -exportPath macOS - - name: Upload visionOS - run: xcodebuild $XCODEBUILD_EXTRA_ARGS -exportArchive -exportOptionsPlist Release/ExportOptions.plist -archivePath visionOS.xcarchive/ -exportPath visionOS + # - name: Upload visionOS + # run: xcodebuild $XCODEBUILD_EXTRA_ARGS -exportArchive -exportOptionsPlist Release/ExportOptions.plist -archivePath visionOS.xcarchive/ -exportPath visionOS - - name: Send to TestFlight - env: - AUTHENTICATION_KEY: /tmp/AuthKey.p8 - AUTHENTICATION_KEY_ID: ${{ secrets.AUTHENTICATION_KEY_ID }} - AUTHENTICATION_KEY_ISSUER_ID: ${{ secrets.AUTHENTICATION_KEY_ISSUER_ID }} - run: | - version="$(cat Configs/Deployment.xcconfig | grep CURRENT_PROJECT_VERSION | awk '{ print $3 }')" + # - name: Send to TestFlight + # env: + # AUTHENTICATION_KEY: /tmp/AuthKey.p8 + # AUTHENTICATION_KEY_ID: ${{ secrets.AUTHENTICATION_KEY_ID }} + # AUTHENTICATION_KEY_ISSUER_ID: ${{ secrets.AUTHENTICATION_KEY_ISSUER_ID }} + # run: | + # version="$(cat Configs/Deployment.xcconfig | grep CURRENT_PROJECT_VERSION | awk '{ print $3 }')" - # Make sure we all have all the latest tags (for notes) - git fetch --tags + # # Make sure we all have all the latest tags (for notes) + # git fetch --tags - Release/send_to_testflight.swift "$version" + # Release/send_to_testflight.swift "$version" diff --git a/Configs/Deployment.xcconfig b/Configs/Deployment.xcconfig index 93a1aa2..578fcb1 100644 --- a/Configs/Deployment.xcconfig +++ b/Configs/Deployment.xcconfig @@ -6,7 +6,7 @@ // CODE_SIGN_IDENTITY = Apple Development -CURRENT_PROJECT_VERSION = 14 +CURRENT_PROJECT_VERSION = 15 DEVELOPMENT_TEAM = X4A9GH5NN2 MACOSX_DEPLOYMENT_TARGET = 14.0 MARKETING_VERSION = 0.1