-
Notifications
You must be signed in to change notification settings - Fork 525
Fix update il2cpp deps #2162
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
Fix update il2cpp deps #2162
Conversation
Update Publish to Stevedore to use new upload executable Update token key used for prtools Adding generate_artifactid script to create the file PRTools is looking for. artifactid file is now in collectedbuilds
f38410b to
9cb1664
Compare
| - curl -sSo StevedoreUpload "$STEVEDORE_UPLOAD_TOOL_LINUX_X64_URL" | ||
| - chmod +x StevedoreUpload | ||
| - mv collectedbuilds/builds.tar.zst collectedbuilds/MonoBleedingEdge.tar.zst | ||
| - .yamato/scripts/generate_artifactid.sh collectedbuilds/MonoBleedingEdge.tar.zst | ||
| - ./StevedoreUpload --repo=unity-internal --version-len=8 --version="$GIT_REVISION" collectedbuilds/MonoBleedingEdge.tar.zst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you could do all this in a compound block without the need for the generate_artifactid.sh script, eg:
| - curl -sSo StevedoreUpload "$STEVEDORE_UPLOAD_TOOL_LINUX_X64_URL" | |
| - chmod +x StevedoreUpload | |
| - mv collectedbuilds/builds.tar.zst collectedbuilds/MonoBleedingEdge.tar.zst | |
| - .yamato/scripts/generate_artifactid.sh collectedbuilds/MonoBleedingEdge.tar.zst | |
| - ./StevedoreUpload --repo=unity-internal --version-len=8 --version="$GIT_REVISION" collectedbuilds/MonoBleedingEdge.tar.zst | |
| - |- | |
| set -euxo pipefail | |
| curl -sSo StevedoreUpload "$STEVEDORE_UPLOAD_TOOL_LINUX_X64_URL" | |
| chmod +x StevedoreUpload | |
| mv collectedbuilds/builds.tar.zst collectedbuilds/MonoBleedingEdge.tar.zst | |
| revision=$(git rev-parse --short HEAD) | |
| artifactsha=$(sha256sum $1 | cut -d " " -f1) | |
| echo "MonoBleedingEdge/${revision}_${artifactsha}.tar.zst\n" > collectedbuilds/artifactid.txt | |
| ./StevedoreUpload --repo=unity-internal --version="$revision" collectedbuilds/MonoBleedingEdge.tar.zst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know about compound blocks! That's pretty neat. I still think I like having the logic off in a script to keep the yamato file less busy and a bit easier to read.
mostynb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Up to you though. I think either way will work.
Updates buildscripts to have the ability to push the collated mono builds.tar.zsh to stevedore.
Reviewers: please consider these questions as well! ❤️