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

@@ -1,8 +1,8 @@
version: '3'
version: "3"
vars:
APP_NAME: 'HATray'
VERSION: '0.0.1'
APP_NAME: "HATray"
VERSION: "0.0.1"
includes:
build:
@@ -43,4 +43,9 @@ tasks:
deps: [deps, fmt, vet, test, build]
cmds:
- echo "Development workflow complete"
- echo "Run 'task windows:run' to start the application"
- echo "Run 'task windows:run' to start the application"
version:
desc: "Show the version of the application"
cmds:
- git describe --tags --abbrev=0 2>/dev/null || echo "unknown"