Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action get-latest-testflight-build-number returns version number instead of build number #303

Closed
jtruenary opened this issue Jan 23, 2023 · 5 comments
Assignees

Comments

@jtruenary
Copy link

jtruenary commented Jan 23, 2023

Since the last release v0.36.7, the action get-latest-testflight-build-number returns version number instead of build number. Our Codemagic CI pipelines are breaking because of this. Any suggestions?

@priitlatt
Copy link
Contributor

Hi @jtruenary, thank you for your report. If anything, then version 0.36.6 is to blame for it as it includes changes from PR #300, that altered the behaviour of app-store-connect get-latest-testflight-build-number (and similar actions).

Could you please provide some more context of your use-case with terminal output and screenshots from the related application TestFlight builds?

@priitlatt priitlatt self-assigned this Jan 23, 2023
@mazzonem
Copy link

I'm having exactly the same issue.

It is generally believed that BuildNumber always goes up but Apple allows reusing (lower build number) when changing the app version. So Overall #300 is correct and we should adapt our CI pipelines @jtruenary. https://developer.apple.com/library/archive/technotes/tn2420/_index.html#//apple_ref/doc/uid/DTS40016603-CH1-VERSION_NUMBER_AND_BUILD_NUMBER_CHECKLIST

I hope it helps the next person looking for this 👍

@jtruenary
Copy link
Author

jtruenary commented Jan 23, 2023

@priitlatt Yes you are right. Our last build was on 0.36.5 before this failing build, so our pipelines never ran on 0.36.6.

We run this command:

app-store-connect get-latest-testflight-build-number "$APP_STORE_ID"

This is the output:

Found build number 1.18.35.104.6 from TestFlight version 6

Previously we were fetching the build number and incrementing it in our build job.

@priitlatt
Copy link
Contributor

@jtruenary could you please provide a screenshot of what is going on in your TestFlight?

@priitlatt
Copy link
Contributor

Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants