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

Version code extensions #27

Closed
gladed opened this issue Oct 12, 2016 · 5 comments
Closed

Version code extensions #27

gladed opened this issue Oct 12, 2016 · 5 comments

Comments

@gladed
Copy link
Collaborator

gladed commented Oct 12, 2016

For projects with multiple APKs it might be nice to slot in other values (API-level, Platform, Screen size, etc.). Right now this is kind of tricky to do.

@gladed
Copy link
Collaborator Author

gladed commented Jan 4, 2017

As mentioned in #31 there could be a user-customizable list of digits to fill in with different content.

Considerations:

So here's a provisional list of inclusions:

  • SS (screen size)
  • AA (API Level)
  • M (major version number 1.x.x)
  • N (minor version number x.2.x)
  • P (patch version number x.x.3)
  • BBBB (build number, e.g. 2838 for number of commits since beginning)
  • UUU (update number, e.g. 102 for number of updates since last tag)

Others?

@gladed
Copy link
Collaborator Author

gladed commented Jan 9, 2017

As discussed in #31, we would call this codeFormat.

parts and multiplier would be deprecated with this change. They should continue to function as-is where codeFormat is not supplied for backwards compatibility.

@gladed
Copy link
Collaborator Author

gladed commented Jan 10, 2017

(mostly) fixed in 0.3.0 / 5235644

@gladed gladed closed this as completed Jan 10, 2017
@gladed
Copy link
Collaborator Author

gladed commented Jan 10, 2017

(Didn't do BBBB, SS, or AA. Maybe later.)

@gladed
Copy link
Collaborator Author

gladed commented Jan 10, 2017

Let me know what you think @artky -- hopefully this will address your use case well!

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

No branches or pull requests

0 participants