Chance Bundle Version Code

Hi(Sry my English is bad).
I have a Problem.

About my App: -Android
PlayerSettings: -Bundle Version: 1.0, -Bundle Version Code: 1

I want to update my apk in the Google Playstore.
The Playstore want the next Bundle Version Code ->2.

If i chance the Number from 1 to 2 and Build the apk the new number is 1 and not the chanced number 2.

What i have to do?

I think i have solved the Problem.

Have delete my Publisher Settings(keystore, Alias, …)

Then i have build the apk with these empty settings and the code 2.

After that i insert my Publisher Settings and build apk file again. It works now.

Its a bug?