Skip to content

Commit

Permalink
cannot set var dependent on another task
Browse files Browse the repository at this point in the history
  • Loading branch information
jamcole committed Oct 21, 2023
1 parent f48487a commit 467df90
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions taskfile.dist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 467df90

Please sign in to comment.