Is there anyway to increment the build number during the upload_to_testflight lane? #22050
Unanswered
HenryGrange
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Isn't it supposed to be |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am creating an iOS pipeline in our gitlab repository. Between the build and upload job I have a wrapping job that wraps the .ipa for additional security (required). That would mean that if i use
increment_build_number(latest_testflight_build_number + 1)
in the build job, then the same build number could be assigned to two different jobs if two developers triggered the build job within ~30min of each other. To try and solve this, I tried updating the build number during the upload_to_testflight lane instead of during the build lane by setting thebuild_number
parameter ofupload_to_testflight
job toincrement_build_number(latest_testflight_build_number + 1)
but it doesn't work. It still assigns the build_number it inherits from Xcode.Is there anyway to increment the build_number during the upload_to_testflight lane instead of during the gym or build lane?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions