Skip to content
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

Added current values #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tagyro
Copy link

@tagyro tagyro commented Jan 24, 2017

Added $APP_ORIGINAL_VERSION and $APP_ORIGINAL_BUILD

Added `$APP_ORIGINAL_VERSION` and `$APP_ORIGINAL_BUILD`
@tagyro
Copy link
Author

tagyro commented Jan 24, 2017

The idea behind adding these two variables is to (maybe) use them in an "auto-increment" way, something like:
$APP_VERSION = $APP_ORIGINAL_VERSION + 1 or
$APP_BUILD = $APP_ORIGINAL_BUILD + 1
Does that make sense?

@KirillAshikhmin
Copy link
Owner

@tagyro This approach will not work for the auto-increment the version number.
For each run the older version will be the same.
In order to increment the version recommend using $ BITRISE_BUILD_NUMBER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants