mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vup: minor change to final output string (#6948)
This commit is contained in:
parent
8e2b7fe3d6
commit
96b6a03d01
@ -93,7 +93,7 @@ fn (app App) show_current_v_version() {
|
|||||||
latest_v_commit := vversion.split(' ').last().all_after('.')
|
latest_v_commit := vversion.split(' ').last().all_after('.')
|
||||||
if latest_v_commit_time := os.exec('git show -s --format=%ci $latest_v_commit') {
|
if latest_v_commit_time := os.exec('git show -s --format=%ci $latest_v_commit') {
|
||||||
if latest_v_commit_time.exit_code == 0 {
|
if latest_v_commit_time.exit_code == 0 {
|
||||||
vversion += ', commited at ' + latest_v_commit_time.output.trim_space()
|
vversion += ', timestamp: ' + latest_v_commit_time.output.trim_space()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user