Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#451] Upload the IPA of DesignToolbox to the publication store #452

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ludovic35
Copy link
Member

Note: Please transform - [ ] into - (NA) in the description when things are not applicable

Related issues

#451

Description

Add a curl command in the upload process. This is done in a specific function.

Motivation & Context

Types of change

  • New feature (non-breaking change which adds functionality)

Checklist

Contribution

Accessibility

  • My change follows accessibility good practices

Design

  • (NA) My change respects the design guidelines of Orange Unified Design System

Development

  • My change follows the developer guide
  • (NA) I checked my changes do not add new SwiftLint warnings
  • I have added unit tests to cover my changes (optional)

Documentation

  • My change introduces changes to the documentation and/or I have updated the documentation accordingly

Checklist (for Core Team only)

  • (NA) The evolution have been tested and the project builds for iPhones and iPads
  • Code review has been done by reviewers according to CODEOWNERS file
  • (NA) Design review has been done
  • (NA) Accessibiltiy review has been done
  • (NA) Q/A team has tested the evolution
  • Documentation has been updated if relevant
  • Internal files have been updated if relevant (like CONTRIBUTING, DEVELOP, THIRD_PARTY, CONTRIBUTORS, NOTICE)
  • CHANGELOG has been updated respecting keep a changelog rules and reference the issues
  • The wiki has been updated if needed (optional)

@pylapp pylapp self-assigned this Feb 12, 2025
@@ -34,6 +34,10 @@ APPLE_KEY_CONTENT = ENV["OUDS_APPLE_KEY_CONTENT"]
# Bundle identifier of the app
DEVELOPER_APP_IDENTIFIER = ENV["OUDS_DEVELOPER_BUNDLE_IDENTIFIER"]

# Upload To Store
# ---------------
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La ligne 38 ne sert à rien, tu peux la retirer :)


publish_mattermost_notification("📦 ✅ @here The upload to store has been done successfully (version = '#{version}', build number = '#{build_number}')")
rescue => error
publish_mattermost_notification("📦 🚨 @channel Some issue occurred during the upload step (:upload_2_store)")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il faudrait indenter ce qu'il y a dans rescue, à savoir les lignes 458 et 459

# PRIVATE LANE UPLOAD TO STORE
# ----------------------------
desc "PRIVATE LANE UPLOAD TO STORE"
private_lane :upload_2_store do |params|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plutôt upload_to_store non ?

# ---------------------------------------------------------------------------
desc "PRIVATE LANE UPLOAD TO TESTFLIGHT"
private_lane :upload do |params|
private_lane :upload_2_testflight do |params|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plutôt upload_to_testflight non ?

build_number = get_build_number(xcodeproj: OUDS_PROJECT)
puts "ℹ️ App build number: '#{build_number}'"

sh "curl -F 'file=@build/oudsApp.xcarchive' '#{UPLOAD_STORE_URL}'"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On est sûr que l'on a bien quelque chose à "file=@build/oudsApp.xcarchive" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Tool] Upload the IPA of Design Toolbox to the publication store and no more TestFlight
2 participants