codemagic-ci-cd / cli-tools

Various utilities to managing Android and iOS app builds, code signing, and deployment.
https://codemagic.io/start/
GNU General Public License v3.0
261 stars 42 forks source link

Action get-latest-testflight-build-number returns number of expired build number instead of normal build number #305

Closed ahmdaeyz closed 1 year ago

ahmdaeyz commented 1 year ago

Hello guys, Using the app-store-connect tool to get the latest testflight build number returns the build number of an expired build which isn't what was happening before the current version of the tool (0.36.7) image This is how our testflight looks: image PS: Our latest successful build was with the 0.36.5 version. PS: The expired build has been expired for a couple of months now ie not new.

mazzonem commented 1 year ago

@ahmdaeyz see #303.

priitlatt commented 1 year ago

Hi @ahmdaeyz. Indeed some changes were made in PR #300 that altered the way how the latest build number is obtained and there is some discussion about it going on under issue #303. However, your particular use-case will be covered by the change in #304, which introduces two new flags --expired and --not-expired to app-store-connect get-latest-testflight-build-number. In your case adding --not-expired will suffice once the version will go live.

ahmdaeyz commented 1 year ago

Hi @priitlatt. Thanks for your response and the great tools. Can you please give me an idea when will this go live?

priitlatt commented 1 year ago

@ahmdaeyz it is now available with version 0.37.0. Also in PyPI: https://pypi.org/project/codemagic-cli-tools/0.37.0/.