fastlane/watchbuild

watches the wrong build

nikmartin opened this issue ยท 13 comments

Each time I run watchbuild, I get a status in the terminal like:
Waiting 12 seconds for iTunes Connect to process the build 2.0.8 (2.0.8)... this might take a while...
which is the build I just uploaded. A minute or so later, I get the notification on my desktop:
Version 1.1.18 finished... which is an older build. The current build is still processing.

@nikmartin I am not able to replicate this at all ๐Ÿ˜• Is this still an issue for you?

It is, and here's the issue: the versioning in this project is out of order. There are earlier versions of an app of the same name in this clients account, with later version numbers, because the developer at the time didn't understand or use semver. So my current builds are a lower semver than older versions. Once i skipped ahead to later version numbers, the issue went away.

@nikmartin Ahhh, got it! I think I know the issue now ๐Ÿ˜Š I will look into ๐Ÿ‘Œ

Seeing this issue as well. Is there a way to get watchbuild to look for a specific version?

Its picking a version uploaded years ago instead of the latest.

@andrewgarn Yes yes, we can make that happen!

Quick question though... did you update to the latest version that was released earlier this week?

Yes, 0.5 fixed the auth issue we were having previously. Thanks for that!

Awesome! Thanks for confirming @andrewgarn ๐Ÿค—

I'm closing this issue then. Let us know if you see any other issues after upgrading to v0.5.0 ๐Ÿ™

Cheers!

To clarify, it fixed the auth issue in #17 but i'm still seeing it pick the wrong build after updating to 0.5.0

Ah got it! Sorry about that!
Reopening

@andrewgarn are you facing this issue? #5 (comment)

@andrewgarn are you facing this issue? #5 (comment)

Still an issue as of January 2022. There is an old build from years ago watchbuild picks instead of the one uploaded today. The version number (2.9) is also much earlier than the current version (9.3).

Checking App Store connect the very old (2.9) build seems to be stuck in Processing state. There is no way to cancel, expire or delete this build in the App Store Connect website.

Can we have watchbuild prioritise newer builds, or allow a version into watchbuild alongside bundle identifier?

Thanks

@nikmartin
Since we upload appstore through the Private Key, how do we operate which user to use?

@nikmartin
Since we upload appstore through the Private Key, how do we operate which user to use?

I have no idea. You may want to open a new issue, it doesn't seem related.