Skip to content

Commit

Permalink
fixup! only upload to Apple upon releases
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Nov 28, 2023
1 parent f770904 commit 2b73116
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ jobs:
version = str(datetime.date.today())
upload_folder = f"nightly/{version}"
export_method = "developer-id" if os.getenv("UPLOAD_TO") == "dmg" else "app-store"
upload_to_apple = export_method == "developer-id" or (is_release and export_method == "app-store")
upload_to = os.getenv("UPLOAD_TO")
export_method = "developer-id" if upload_to == "dmg" else "app-store"
upload_to_apple = True
if not is_release and upload_to == "app-store":
upload_to_apple = False
extra_xcode = os.getenv("EXTRA_XCODEBUILD", "")
if os.getenv("PLATFORM") == "iOS":
Expand Down

0 comments on commit 2b73116

Please sign in to comment.