Skip to content

Commit

Permalink
Version 0.1 (15)
Browse files Browse the repository at this point in the history
  • Loading branch information
saagarjha committed Aug 25, 2024
1 parent 601a4f6 commit a8c9db9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
39 changes: 21 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
uname -a
xcodebuild -version
- name: Debug stuff
run: security find-identity -p codesigning -v

- name: Archive macOS
run: xcodebuild -scheme macOS -archivePath macOS.xcarchive archive

Expand Down Expand Up @@ -102,27 +105,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"
2 changes: 1 addition & 1 deletion Configs/Deployment.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8c9db9

Please sign in to comment.