ci: add 'version' task to taskfile, use in build.yml

This commit is contained in:
2025-08-01 14:17:14 -05:00
parent d5536423bb
commit 57ddab9032
3 changed files with 15 additions and 19 deletions

View File

@@ -3,7 +3,7 @@ version: "3"
vars:
BINARY_NAME: "{{.APP_NAME}}.exe"
VERSION:
sh: powershell -Command "try { agit describe --tags --abbrev=0 } catch { 'unknown' }"
sh: powershell -Command "try { git describe --tags --abbrev=0 } catch { 'unknown' }"
COMMIT:
sh: git rev-parse --short HEAD