mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
codemagic.yaml edited online with Bitbucket
This commit is contained in:
+22
-30
@@ -1,31 +1,19 @@
|
|||||||
workflows:
|
workflows:
|
||||||
ionic-capacitor-ios-workflow:
|
ios-workflow:
|
||||||
name: Ionic Capacitor iOS Workflow
|
name: iOS Workflow
|
||||||
max_build_duration: 120
|
max_build_duration: 120
|
||||||
instance_type: mac_mini_m1
|
|
||||||
integrations:
|
integrations:
|
||||||
app_store_connect: 433YAF3YWG
|
app_store_connect: 433YAF3YWG
|
||||||
environment:
|
environment:
|
||||||
ios_signing:
|
ios_signing:
|
||||||
# distribution_type: app_store
|
distribution_type: app_store
|
||||||
bundle_identifier: com.gpr.gabinetedigital.teste
|
bundle_identifier: com.gpr.gabinetedigital.teste
|
||||||
vars:
|
vars:
|
||||||
# Ionic Xcode worskspace and scheme
|
APP_STORE_APPLE_ID: 1664747447
|
||||||
XCODE_WORKSPACE: "ios/App/App.xcworkspace"
|
XCODE_WORKSPACE: "platforms/ios/App.app.xcworkspace"
|
||||||
XCODE_SCHEME: "App"
|
XCODE_SCHEME: "App.app"
|
||||||
APP_STORE_APP_ID: 1664747447 # <-- Put the app id number here. This is found in App Store Connect > App > General > App Information
|
|
||||||
node: 16.15.1
|
|
||||||
xcode: latest
|
|
||||||
cocoapods: 1.12.1
|
|
||||||
triggering:
|
|
||||||
events:
|
|
||||||
- push
|
|
||||||
branch_patterns:
|
|
||||||
- pattern: develop
|
|
||||||
include: true
|
|
||||||
source: true
|
|
||||||
scripts:
|
scripts:
|
||||||
- name: Install npm dependencies for Ionic project
|
- name: Install npm dependencies for Ionic Capacitor project
|
||||||
script: |
|
script: |
|
||||||
npm install
|
npm install
|
||||||
- name: Cocoapods installation
|
- name: Cocoapods installation
|
||||||
@@ -33,20 +21,24 @@ workflows:
|
|||||||
cd ios/App && pod install
|
cd ios/App && pod install
|
||||||
- name: Update dependencies and copy web assets to native project
|
- name: Update dependencies and copy web assets to native project
|
||||||
script: |
|
script: |
|
||||||
npx cap sync ios # <- update native dependencies and copy web assets to native project
|
# if you don't need to update native dependencies, use this:
|
||||||
npx cap copy ios # <- use this is you don't need to update native dependencies
|
# npx cap copy
|
||||||
|
#
|
||||||
|
# to update native dependencies, use this command:
|
||||||
|
npx cap sync
|
||||||
- name: Set up code signing settings on Xcode project
|
- name: Set up code signing settings on Xcode project
|
||||||
script: |
|
script: |
|
||||||
xcode-project use-profiles
|
xcode-project use-profiles
|
||||||
- name: Increment build number
|
- name: Increment build number
|
||||||
script: |
|
script: |
|
||||||
cd $CM_BUILD_DIR/ios/App
|
cd $CM_BUILD_DIR/ios/App
|
||||||
LATEST_BUILD_NUMBER=$(app-store-connect get-latest-app-store-build-number "$APP_ID")
|
LATEST_BUILD_NUMBER=$(app-store-connect get-latest-app-store-build-number "$APP_STORE_APPLE_ID")
|
||||||
agvtool new-version -all $(($LATEST_BUILD_NUMBER + 1))
|
agvtool new-version -all $(($LATEST_BUILD_NUMBER + 1))
|
||||||
- name: Build ipa for distribution
|
- name: Build ipa for distribution
|
||||||
script: |
|
script: |
|
||||||
|
cd $CM_BUILD_DIR/ios/App
|
||||||
xcode-project build-ipa \
|
xcode-project build-ipa \
|
||||||
--workspace "$CM_BUILD_DIR/$XCODE_WORKSPACE" \
|
--workspace "$XCODE_WORKSPACE" \
|
||||||
--scheme "$XCODE_SCHEME"
|
--scheme "$XCODE_SCHEME"
|
||||||
artifacts:
|
artifacts:
|
||||||
- build/ios/ipa/*.ipa
|
- build/ios/ipa/*.ipa
|
||||||
@@ -56,19 +48,19 @@ workflows:
|
|||||||
publishing:
|
publishing:
|
||||||
email:
|
email:
|
||||||
recipients:
|
recipients:
|
||||||
- eudes.inacio@equilibrium.co.ao
|
- romavicdosanjoskc@gmail.com
|
||||||
notify:
|
notify:
|
||||||
success: false # To not receive a notification when a build succeeds
|
success: true
|
||||||
failure: false # To not receive a notification when a build fails
|
failure: false
|
||||||
app_store_connect:
|
app_store_connect:
|
||||||
auth: integration
|
auth: integration
|
||||||
|
|
||||||
# Configuration related to TestFlight (optional)
|
# Configuration related to TestFlight (optional)
|
||||||
# Note: This action is performed during post-processing.
|
# Note: This action is performed during post-processing.
|
||||||
submit_to_testflight: true
|
submit_to_testflight: true
|
||||||
# beta_groups: # Specify the names of beta tester groups that will get access to the build once it has passed beta review.
|
beta_groups: # Specify the names of beta tester groups that will get access to the build once it has passed beta review.
|
||||||
# - group name 1
|
- group name 1
|
||||||
# - group name 2
|
- group name 2
|
||||||
|
|
||||||
# Configuration related to App Store (optional)
|
# Configuration related to App Store (optional)
|
||||||
# Note: This action is performed during post-processing.
|
# Note: This action is performed during post-processing.
|
||||||
|
|||||||
Reference in New Issue
Block a user