sbt / sbt-dynver

An sbt plugin to dynamically set your version from git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onLoad example does not work

steinybot opened this issue · comments

The example:

Global / onLoad := (Global / onLoad).value.andThen { s =>
  dynverAssertTagVersion.value
  s
}

fails with:

/Users/jason/source/console-api/build.sbt:19: error: A setting cannot depend on a task
  dynverAssertTagVersion.value
  ^