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

add commit hash to metadata #589

Merged
merged 1 commit into from
Jan 8, 2025
Merged

add commit hash to metadata #589

merged 1 commit into from
Jan 8, 2025

Conversation

jeremy-babylonlabs
Copy link
Contributor

@jeremy-babylonlabs jeremy-babylonlabs commented Jan 7, 2025

This PR: Adds the commit hash to the header metadata to track the build version

@gbarkhatov
Copy link
Contributor

We need to have description on such PRs

@totraev totraev merged commit 8200f7c into main Jan 8, 2025
1 check passed
@totraev totraev deleted the chores/metadata-commit-hash branch January 8, 2025 05:18
try {
return process.env.NEXT_PUBLIC_COMMIT_HASH || "development";
} catch {
return "development";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why a catch is needed? process.env will never throw

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

Successfully merging this pull request may close these issues.

4 participants