sbt / sbt-ghpages

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

Be able to set custom commit messages. #5

Closed relrod closed 11 years ago

relrod commented 11 years ago

This should (hopefully) let users customize the commit message that sbt-ghpages uses.

This lets people optionally include things like flags to turn off testing automation or commit announcements for these commits, by doing something like:

$ SBT_GHPAGES_COMMIT_MESSAGE='Latest API docs. [ci skip]' sbt ghpages-push-site
jsuereth commented 11 years ago

Hey, thanks for the patch. It looks good. However, I have a question. Most of us use SBT in interactive mode, i.e. staying in the sbt console. Would you mind if I ghpages-push-site to be an input task? That would change your workflow to:

sbt "ghpages-push-site COMMIT MESSAGE HERE", but will be friendlier for those of us who stay in the shell.

relrod commented 11 years ago

Sure, that's perfectly fine with me. Thanks for being willing to do this at all :)

Let me know if/when you have something testable and I'll be happy to try it out.

relrod commented 11 years ago

@jsuereth Hey, just wondering if you have any update here. Would love to start using this feature. :)

relrod commented 11 years ago

ping? :)

jsuereth commented 11 years ago

Hey, sorry. Let me pull this in, I was just checking that the project builds again. I'll try to modify things this week, but for now I'll push a 0.5.2-SNAPSHOT for you.

jsuereth commented 11 years ago

Ok, thanks again for the fix, http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-snapshots/com.typesafe.sbt/sbt-ghpages/scala_2.9.2/sbt_0.12/0.5.2-SNAPSHOT/jars/sbt-ghpages.jar

is live!

relrod commented 11 years ago

Thanks!