aligning standard
diff --git a/Taskfile.yml b/Taskfile.yml index 4812c2f..bf5dfff 100644 --- a/Taskfile.yml +++ b/Taskfile.yml
@@ -19,7 +19,7 @@ vars: BASEVER: "0.9.0" - VARIANT: "SNAPSHOT" + SUFFIX: "-snapshot" VERSION: sh: git describe --tags --abbrev=0 2>/dev/null || git rev-parse --short HEAD DEBUG: "" @@ -33,7 +33,7 @@ desc: tag the cli to generate the build cmds: - git tag -d $(git tag) - - echo "{{.BASEVER}}-$(date +%y%m%d%H%M).{{.VARIANT}}" >version.txt + - echo "{{.BASEVER}}-$(date +%y%m%d%H%M){{.SUFFIX}}" >version.txt - echo "{{.BASEVER}}" >branch.txt - git add version.txt branch.txt - git commit -m "$(cat version.txt)" || true