sbt / sbt-ghpages

git, site and ghpages support for sbt projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic commit message

netzwerg opened this issue · comments

As far as I can tell, the only way to specify a custom commit message is via SBT_GHPAGES_COMMIT_MESSAGE environment variable, right?

I would like to include version information, along the lines of:

ghPagesCommitMessage := s"Deploy $version"

Is this possible with the env based mechanism, i.e. is it possible to set an environment variable from within build.sbt?

It would be helpful if we could name the branch (or commit hash or something) where the ghpagesPushSite was run. E.g. a commit message such as:

updated site from branch master, commit b15b2fd