Skip to content

Commit

Permalink
[316] Add set the build version in CodeMagic
Browse files Browse the repository at this point in the history
  • Loading branch information
ducbm051291 committed Apr 25, 2023
1 parent 789d409 commit 0ea0003
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ workflows:
script: bundle install --path vendor/bundle
- name: Install Pods Dependencies
script: bundle exec pod install
- name: Set the build version
script: |
#!/bin/sh
set -e
set -x
cd $CM_BUILD_DIR
agvtool new-version -all $(($BUILD_NUMBER + 1))
- name: Build and Test
script: bundle exec fastlane buildAndTest
- name: Match Ad-hoc
Expand Down Expand Up @@ -54,6 +61,13 @@ workflows:
script: bundle install --path vendor/bundle
- name: Install Pods Dependencies
script: bundle exec pod install
- name: Set the build version
script: |
#!/bin/sh
set -e
set -x
cd $CM_BUILD_DIR
agvtool new-version -all $(($BUILD_NUMBER + 1))
- name: Build and Test
script: bundle exec fastlane buildAndTest
- name: Match Ad-hoc
Expand Down Expand Up @@ -86,6 +100,13 @@ workflows:
script: bundle install --path vendor/bundle
- name: Install Pods Dependencies
script: bundle exec pod install
- name: Set the build version
script: |
#!/bin/sh
set -e
set -x
cd $CM_BUILD_DIR
agvtool new-version -all $(($BUILD_NUMBER + 1))
- name: Build and Test
script: bundle exec fastlane buildAndTest
- name: Match AppStore
Expand Down

0 comments on commit 0ea0003

Please sign in to comment.