-
Notifications
You must be signed in to change notification settings - Fork 3
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
Expose UI version number in transcend.version
#165
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request has been linked to and will mark 1 task as "Pending Deploy" when merged:
|
transcend.version
transcend.version
What's the reasoning behind this PR? We don't publish ui versions independently of airgap so not sure this is useful... |
@@ -91,7 +91,7 @@ export const build = async ( | |||
} | |||
: undefined, | |||
define: { | |||
'process.env.version': JSON.stringify( | |||
'process.env.VERSION': JSON.stringify( |
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.
why the casing change?
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.
best practice for env constants to prevent accidental mis-use (e.g. as a variable that can be assigned to)
transcend.version
transcend.version
This reverts commit 4eafe04.
The reasoning behind this PR is to improve the debugging flow for UI bugs on customer sites so that we can immediately pinpoint their UI version. |
Related Issues
Security Implications
[none]
System Availability
[none]