Skip to content

A Mill plugin to publish artifacts to S3

License

Notifications You must be signed in to change notification settings

joan38/mill-s3-publish

Repository files navigation

mill-s3-publish

Maven Central

A Mill plugin to publish artifacts to S3.

Usage

Publishing assembly to S3.

build.sc:

import $ivy.`com.goyeau::mill-s3-publish::<latest version>`
import com.goyeau.mill.s3.publish.S3PublishModule
import mill.scalalib.JavaModule

object project extends JavaModule with S3PublishModule {
  override def s3BucketName = "my-bucket"
  override def s3BucketKey =
    s"artifacts/com/goyeau/${artifactId()}/$jobVersion()/${artifactId()}-$jobVersion()-assembly.jar"
}
> mill project.s3Publish

Related projects

Contributing

Contributions are more than welcome!
See CONTRIBUTING.md for all the information and getting help.