SiarheiFedartsou / fastlane-plugin-versioning

Extends fastlane versioning actions. Allows to set/get versions without using agvtool and do some other small tricks.
MIT License
504 stars 60 forks source link

Update major build number to specific one #21

Closed piv199 closed 4 years ago

piv199 commented 6 years ago

Hi, I've just wonder how can I update major build number depending on the lane that is being run?

I have 3 different lanes, and I want override major number when gym the app.

SiarheiFedartsou commented 6 years ago

Hi @piv199! What is “major build number”? There are major part of version number(X in X.Y.Z) and just build number. Which one do you mean? Also regarding your question you can just pass different parameters to increment_build_number_in_plist in each lane. You can give an example of your lane code and I think it will be easier to help you.

piv199 commented 6 years ago

@SiarheiFedartsou yeah, I definitely mean X in X.Y.Z. Is there any way explicitly set just this number and not update Y and Z.

Thanks for your response.

SiarheiFedartsou commented 6 years ago

@piv199 For now it is possible only if you set version number manually. But I think I can add this ability to some future release.

piv199 commented 6 years ago

@SiarheiFedartsou Thanks very much. If you need some help, let me know)

jdouglas-nz commented 4 years ago

@piv199 - do you currently have a build number that consists of X.Y.Z along with a version number that consists of A.B.C ?

xcode_build_version

i.e. using the image as a guide - does your X.Y.Z show up in the build field in xcode? (where the '12' is)

jdouglas-nz commented 4 years ago

Closing this due to inactivity. If you still have this issue or want further help, please open another ticket for me :)