From 4d4cec54e9901e77d8be06bcca351c47d39349c6 Mon Sep 17 00:00:00 2001 From: Sergei Lukianov Date: Fri, 10 Jan 2025 09:40:34 -0800 Subject: [PATCH] Sync just tools with fabricator Signed-off-by: Sergei Lukianov --- hack/tools.just | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hack/tools.just b/hack/tools.just index 145e0715..552bcdac 100644 --- a/hack/tools.just +++ b/hack/tools.just @@ -2,8 +2,9 @@ # Version handling # +version_extra := "" version_dirty := `[ -z "$(git status -s)" ] || echo "-$(LC_ALL=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c 2)$(date +"%H%M")"` -version := `git describe --tags --dirty --always` + version_dirty +version := `git describe --tags --dirty --always` + version_dirty + version_extra # Print version that will be used in the build version: @@ -17,6 +18,7 @@ _is_clean: # localbin := "bin" +localpath := `pwd` localbinpath := `pwd`/localbin _localbin: @@ -118,7 +120,7 @@ _goinstall PACKAGE VERSION BINNAME TARGET FLAGS="": _localbin # _license_headers: _addlicense - @{{addlicense}} -l apache -s=only -c Hedgehog -ignore ".github/**" -ignore "config/**" -ignore "**/*.yaml" -ignore "**/*.yml" -y 2024 . + @{{addlicense}} -l apache -s=only -c Hedgehog -ignore ".github/**" -ignore "config/**" -ignore "**/*.yaml" -ignore "**/*.yml" -ignore "vendor/**" -y 2024 . # Run linter for GitHub Actions lint-gha: _actionlint