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

update v2 install_server.sh:get_installed_version() #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

feenn
Copy link

@feenn feenn commented Nov 27, 2024

For v2.6.0, version message has been changed like:
"Version: v2.6.0
BuildDate: 2024-11-12T00:10:09Z
BuildType: release
Toolchain: go1.23.2 linux/amd64
CommitHash: 15e31d48a09af0835773bd5c62cedbb3fc0e351d Platform: linux
Architecture: amd64
LibVersion: v0.48.2-0.20241104191913-cb103fcecfe7"

So 'grep' must use '-w' to match the first line ONLY.

for v2.6.0, version message has been changed like:
"Version:	v2.6.0
BuildDate:	2024-11-12T00:10:09Z
BuildType:	release
Toolchain:	go1.23.2 linux/amd64
CommitHash:	15e31d48a09af0835773bd5c62cedbb3fc0e351d
Platform:	linux
Architecture:	amd64
LibVersion:	v0.48.2-0.20241104191913-cb103fcecfe7"

So the 'grep' must use '-w' to match the first line ONLY.
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.

1 participant