Skip to content

Instantly share code, notes, and snippets.

@jeffreyolchovy
Created May 29, 2017 14:28
Show Gist options
  • Save jeffreyolchovy/e6becdc66a6f835c0544cb5256074137 to your computer and use it in GitHub Desktop.
Save jeffreyolchovy/e6becdc66a6f835c0544cb5256074137 to your computer and use it in GitHub Desktop.
import sbtrelease.ReleaseStateTransformations._
name := "tweeter-positive"
organization := "com.example"
// current timestamp has been added as version metadata to prevent the suppression of duplicate tweets
version := s"1.2.3+${System.currentTimeMillis}"
// for 'real' projects, we'll want to use most of the default `releaseProcess`
// and insert our task after the default `publishArtifacts` or some custom `publish` step
releaseProcess := Seq[ReleaseStep](
releaseStepInputTask(tweeterTweet, s" v${version.value} of ${organization.value}/${name.value} is available!")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment