File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -662,6 +662,34 @@ jobs:
662662 notify_success : true
663663 - notify-build-finished
664664
665+ update-version-job :
666+ parameters :
667+ xcode :
668+ type : string
669+ default : " 13.4.1"
670+ macos :
671+ xcode : << parameters.xcode >>
672+ environment :
673+ HOMEBREW_NO_AUTO_UPDATE : 1
674+ steps :
675+ - checkout
676+ - *restore-cache-gems
677+ - *restore-cache-podmaster
678+ - *install-gems
679+ - *prepare-netrc-file
680+ - *add-github-to-known-hosts
681+ - install-mbx-ci
682+ - run :
683+ name : Update version
684+ command : |
685+ export GITHUB_WRITER_TOKEN=$(mbx-ci github writer public token)
686+ git remote set-url origin "https://x-access-token:[email protected] /mapbox/mapbox-navigation-ios" 687+ git config --global user.email [email protected] && git config --global user.name mapbox-ci 688+ VERSION=$( echo << pipeline.git.branch >> | sed 's/^trigger-update-version-//' )
689+ ./scripts/update-version.sh $VERSION
690+ - *save-cache-podmaster
691+ - *save-cache-gems
692+
665693workflows :
666694 extended-workflow :
667695 jobs :
@@ -769,4 +797,10 @@ workflows:
769797 - ios-trigger-metrics :
770798 filters :
771799 branches :
772- only : main
800+ only : main
801+ update-version-workflow :
802+ jobs :
803+ - update-version-job :
804+ filters :
805+ branches :
806+ only : /^trigger-update-version-.*/
You can’t perform that action at this time.
0 commit comments