diff --git a/taskfile.dist.yaml b/taskfile.dist.yaml index a18cfd6..d34249b 100644 --- a/taskfile.dist.yaml +++ b/taskfile.dist.yaml @@ -43,13 +43,10 @@ tasks: cmds: - git pull --tags -f - git add src/resources - - git commit -m "version update" --only src/resources && bash -c 'git show-ref --tags {{.TAG}} --quiet && git tag {{.TAG}}-$(date +%s) || git tag {{.TAG}}' || true + - git commit -m "version update" --only src/resources && bash -c 'git show-ref --tags v$(cat src/resources/bedrock-version.txt) --quiet && git tag v$(cat src/resources/bedrock-version.txt)-$(date +%s) || git tag v$(cat src/resources/bedrock-version.txt)' || true - git push origin --tags deps: - version-get - vars: - TAG: - sh: 'echo v$(cat src/resources/bedrock-version.txt)' clean: status: - false