chkfung / android-version-actions

MIT License
32 stars 24 forks source link

Current versionName and versionCode? #5

Open iadcialim opened 2 years ago

iadcialim commented 2 years ago

How do you get the current versionName and versionCode? My use case is to append some text into the versionName. For example, current versionName is "1.2.3", then I want it to be "1.2.3-hotfix"

nathantaal commented 1 year ago

+1 for this versionCode = currentVersionCode + 1