sbt / sbt-ghpages

git, site and ghpages support for sbt projects.
Other
91 stars 20 forks source link

Dynamic commit message #22

Open netzwerg opened 8 years ago

netzwerg commented 8 years ago

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?

sullivan- commented 7 years ago

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