joan38 / mill-s3-publish   0.1

MIT License GitHub

A Mill plugin to publish artifacts to S3

Scala versions: 2.13

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.