mirror of
https://github.com/Xevion/HATray.git
synced 2025-12-05 23:15:09 -06:00
ci: add 'version' task to taskfile, use in build.yml
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user