-
Notifications
You must be signed in to change notification settings - Fork 189
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: add git sha to the build process #2364
Conversation
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 would love to find a way to not have to do this. Can we not pass this ref in on an env? I think we discussed this in Slack already.
@humphd I forgot about the discussion. I'll work on it |
b59869b
to
8c8b0d0
Compare
8c8b0d0
to
0e30f42
Compare
0e30f42
to
5cd2eb2
Compare
5cd2eb2
to
8db105b
Compare
@@ -31,6 +31,8 @@ else | |||
OLD="green" | |||
fi | |||
|
|||
echo "GIT_COMMIT=$2" >> $ENV_FILE |
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.
So what do you have to do to get this in here?
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.
$2
comes from here (build.githubData.after).
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.
perfect
Type of Change
Description
After merging #2328, our banner couldn't fetch and display master's current commit. This fixes the building process so the front-end (specifically Telescope's banner) can fetch the required information from the back-end to display the current commit.
Checklist