mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 11:59:40 -08:00
chore: add commit info to regular build
This commit is contained in:
parent
337ed4a155
commit
0ee320491d
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
|
@ -16,7 +16,7 @@
|
|||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": "$go",
|
||||
"args": ["build", "-v"]
|
||||
"args": ["build", "-v", "-ldflags", "\"-X 'main.Version=development-$(git --no-pager log -1 --pretty=%h-%s)'\""]
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
|
|
Loading…
Reference in a new issue