You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Does not expand variables during first iteration #287
I wanted to generate a sort of semantic version using the following scheme: tag is major.minor and use number of commits on top of tag as patch part of sem ver.
fatal: ambiguous argument '<no value>..': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
task: Command "git rev-list '<no value>'.. --count" in taskvars file failed: exit status 128
That's because the iteration (expansion) of merge doesn't respect variables resolved in the same expansion cycle because templater doesn't reset its a sort of cache:
Activity
andreynering commentedon Feb 2, 2020
Hi @kovetskiy, thanks for opening this issue!
Somewhat related to #218.
I want to rewrite how vars work on v3 to avoid this kind of bugs, but I'm been struggling to find the time to do so.
andreynering commentedon May 17, 2020
After #311 some of the confusion with variables should have been fixed. Task will now respect the order of declaration of variables.
If possible, give the v3 branch a try and give some feedback before the final release.