Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 706 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 706 Bytes

SBT plugin for aptly

A plugin to upload debian packages to aptly debian repo. It works in conjunction with sbt-native-packager

Usage

You need to add the following in your build.sbt. To upload to the aptly debian repository you would want to do sbt assembly debian:packageBin aptly-publish

enablePlugins(AptlyPlugin)

aptlyUrl := "http://aptly.example.net:8080/api"
aptlyPrefix := "analytics_precise"
aptlyDistribution := "precise"
aptlyDebianPackage := baseDirectory.value / s"target/${(name in Debian).value}_${version.value}_${(packageArchitecture in Debian).value}.deb"