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

Set version flags when building release images, too #2424

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

ozamosi
Copy link
Contributor

@ozamosi ozamosi commented Jul 11, 2022

When hitting /v1/version against a 0.9.0 image, it returns
{"semver":"v0.0.0","commit":"","branch":"","buildTime":""}. This is
incorrect.

This copy-pastes bits from the dev image build process that we use to
set these properly for the staging cluster.

The footer still prints the correct thing since the javascript does
have the right versions.

This fixes #2370

@ozamosi ozamosi requested a review from opudrovs July 11, 2022 12:51
@ozamosi ozamosi added the bug Something isn't working label Jul 11, 2022
When hitting `/v1/version` against a 0.9.0 image, it returns
`{"semver":"v0.0.0","commit":"","branch":"","buildTime":""}`. This is
incorrect.

This copy-pastes bits from the dev image build process that we use to
set these properly for the staging cluster.

The footer still prints the correct thing since the javascript does
have the right versions.
Copy link
Contributor

@opudrovs opudrovs left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉 Great that you've confirmed and fixed that issue.

@ozamosi ozamosi merged commit f914f7b into main Jul 11, 2022
@ozamosi ozamosi deleted the fix-release-version branch July 11, 2022 14:56
This was referenced Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

version endpoint returns 0.0.0
2 participants