Auto-incrementing build numbers has suddenly stopped working

Our uplaods to iOS are being rejected saying we’re reusing build numbers :slightly_frowning_face:

We followed Auto-incrementing Build Numbers in Capacitor - Appflow weeks ago and it’s all been working fine, but now are builds are all being rejected saying the number has reset to 1

Odd, as our default value is 2 anyway.

Build log extract :

[16:38:27]: Appflow build script detected...
[16:38:27]: $ npm run appflow:build
[16:38:28]: ▸ >x@0.0.1 appflow:build /Users/ionic/builds/tomchiverton/x
[16:38:28]: ▸ > npx cap-config run appflow.yml -y && npm run build
[16:38:30]: ▸ run ios buildNumber 89
[16:38:30]: ▸ run android versionCode 89
....
[16:42:46]: [iTMSTransporter] 1 package(s) were not uploaded because they had problems:
[16:42:46]: [iTMSTransporter] 	/var/folders/t9/cpm_8j855m5b8jdwdwjcjsp40000gn/T/d20220302-491-tol6n7/1608875982-63f46b64-145d-45a9-9125-ac6c0388d6cb.itmsp - Error Messages:
[16:42:46]: [iTMSTransporter] 		ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1' for version number '1.0'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)."
[16:42:46]: [iTMSTransporter] [2022-03-02 16:42:46 GMT] <main> DBG-X: Returning 1
[16:42:46]: iTunes Transporter output above ^
[16:42:46]: ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1' for version number '1.0'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)."

Our appflow.yml, package.json haven’t changed

Any one else before I raise a support ticket ?

Raise a support ticket. If you’re a paying customer for appflow, that should be your first place to go to for things like this :smile:

Oh, OK, cool, I agree :slight_smile:

Done.

Reverting to an older @capacitor/configure package has sorted it.

It doesn’t help that the releases reported on GitHub - ionic-team/capacitor-configure: Manage Capacitor projects through code or configuration differ from those on https://www.npmjs.com/package/@capacitor/configure and I can’t find a changelog to try and spot the change.