-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
install_release.sh wrong SERVER_URL and SHA256 #4098
Comments
The script Therefore, this script is always updated one commit after the tag (along with the github pages referencing the new version): abc1be4 For This script is always intended to be executed on the |
OK, gotcha. Actually, yes: the version of the code I downloaded was from a release tag. Thanks. |
The install_release.sh script is updated one commit after the release tag, which may be confusing. For convenience, new lightweight tags have been added (for example v2.5-install-release) to point to the commit where install_release.sh is updated. But these tags interfere with "git describe" to generate pretty filenames when executing ./release.sh on a development branch, so ignore them. Before: release-v2.5-install-release-17-gc57a0512b After: release-v2.5-18-gc57a0512b Refs #4098 comment <#4098 (comment)>
Environment
Describe the bug
After a successful installation, scrcpy won´t run because install_release.sh pulled an old version of the scrcpy-server binary.
On errors, please provide the output of the console (and
adb logcat
if relevant).The solution was to get the url for the v2.0 binary, calculate the SHA256 hash and replace the values on the script:
to:
And run the script again. Now scrcpy runs fine.
I suppose those values on the script should be generated automatically using a template or something when generating the release.
Cheers!
The text was updated successfully, but these errors were encountered: