# Change Android versionCode and versionName v1.2.4

**URL:** <https://discuss.bitrise.io/t/change-android-versioncode-and-versionname-v1-2-4/16451>\
**Category:** Changelog\
**Created:** [April 9, 2021, 1:54pm UTC](https://discuss.bitrise.io/t/change-android-versioncode-and-versionname-v1-2-4/16451 "2021-04-09T13:54:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [April 9, 2021, 1:54pm UTC](https://discuss.bitrise.io/t/change-android-versioncode-and-versionname-v1-2-4/16451/1 "2021-04-09T13:54:28Z")

</div>

Fix versionCode regex, so that the step will not modify unrelated parts of the build.gradle file.  
Update versionName update logic, the step makes sure the provided new versionName is surrounded by `"` characters.  
step.yml updated to express better the `New versionCode` and `New versionName` input’s format requirements.

> **[Release 1.2.4 · bitrise-steplib/steps-change-android-versioncode-and-versionname](https://github.com/bitrise-steplib/steps-change-android-versioncode-and-versionname/releases/1.2.4)**
>
> Fix versionCode regex, so that the step will not modify unrelated parts of the build.gradle file.
> Update versionName update logic, the step makes sure the provided new versionName is surrounded by ...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [July 8, 2021, 1:54pm UTC](https://discuss.bitrise.io/t/change-android-versioncode-and-versionname-v1-2-4/16451/2 "2021-07-08T13:54:31Z")

</div>

This topic was automatically closed after 90 days. New replies are no longer allowed.
