-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add rustc version info (git hash + date) to dist tarball #36213
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
+r @brson |
I think you meant r? @brson |
r? @brson |
@bors r+ Thanks @josephDunne ! |
📌 Commit 15a8fc2 has been approved by |
@bors r- Oh you are right @josephDunne. Thanks for fixing my review :) Here's where rustbuild creates the same source tarball. That |
15a8fc2
to
72da8b8
Compare
Am I correct in saying that the other Tarballs have a version file created by the gen_installer.sh script? |
r? @brson I have updated the rustbuild files. I just don't know how to drive the process to confirm it works :-/ |
No, the version file is only created for the rustc installer and the source tarball, by the build script, and the one in the rustc tarball is later copied into the rust tarball by rust-packaging. The gen_installer.sh script doesn't care about the program version. You can test with |
ok I am happy with this commit. Both the rustc-1.13.0-dev-src.tar.gz and rustc-1.13.0-dev-x86_64-apple-darwin.tar.gz on my computer have a version file in them with the following content:
|
r? @brson |
@bors r+ Thanks @josephDunne ! |
📌 Commit 72da8b8 has been approved by |
⌛ Testing commit 72da8b8 with merge a36e069... |
Add rustc version info (git hash + date) to dist tarball a fix for #32444
a fix for #32444