-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increment at the project instead of the target level. #72
Comments
Hey @lhunath. That's not a bad idea! I'll have a play with this and see what I can do 👌 |
Hi @jdouglas-nz! Any news on this? |
I concur with this request! We have targets for our primary application, Watch, App Clips, Widgets, etc, and currently use the standard |
I also expected it to work like this. Having to duplicate the |
On a quick scan it actually looks like it should be doing this: Line 33 in feaaff9
...but if at first if I didn't pass a target in to the action, I got an error in the Ruby code around a |
Are you saying that omitting |
It's easy enough to bump the project version using this plugin, but even with only two targets in my project the project file gets changes in like 6 different places, which just means more conflicts to resolve whenever different branches are merged together. |
It would be great if we could make
increment_build_number_in_xcodeproj
andincrement_version_number_in_xcodeproj
modify theCURRENT_PROJECT_VERSION
andMARKETING_VERSION
values at the project level instead of at an individual target level.This is especially useful when you are releasing an application that includes multiple targets:
In my scenario, our application currently has 16 framework targets. I do not want to manually specify the exact same version information for all targets - instead I would prefer to define this information at the shared project level and let it be inherited by all project targets.
It is very rare in my opinion that you would actually genuinely want your
CURRENT_PROJECT_VERSION
to be set at a target-level.The text was updated successfully, but these errors were encountered: