Skip to content

Commit 6666666

Browse files
committed
feat(core): update versioning method for better tagging and dev environment support
- Use `git describe --tags --dirty 2>/dev/null || echo "dev"` to dynamically fetch the latest tag or default to 'dev' in case of no tags or dirty state. Signed-off-by: kovacs <mritd@linux.com>
1 parent 6666666 commit 6666666

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22

33
vars:
44
VERSION:
5-
sh: git symbolic-ref -q --short HEAD || git describe --tags --exact-match 2>/dev/null || echo "dev"
5+
sh: git describe --tags --dirty 2>/dev/null || echo "dev"
66
BUILD_COMMIT:
77
sh: git rev-parse HEAD 2>/dev/null || echo "unknown"
88
BUILD_DATE:

0 commit comments

Comments
 (0)