File tree 3 files changed +22
-1
lines changed
3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ deploy:
20
20
provider : script
21
21
skip_cleanup : true
22
22
script :
23
- - cp .travis/cloudsmith.sbt . && sbt ReproducibleBuilds/publish
23
+ - cp .travis/cloudsmith-buildinfo .sbt cloudsmith.sbt && sbt ReproducibleBuilds/publish && cp .travis/cloudsmith-full.sbt cloudsmith.sbt && sbt publish
24
24
on :
25
25
tags : true
26
26
repo : raboof/sbt-reproducible-builds
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Example of some local configuration you can use as a rebuilder
3
+ * (either 'official' or 3rd-party) to publish just the buildinfo
4
+ * to a place you control, such as (in this case) my Cloudsmith
5
+ * repo at https://cloudsmith.io/~raboof/repos/buildinfos/packages/
6
+ */
7
+
8
+ import net .bzzt .reproduciblebuilds .ReproducibleBuildsPlugin .ReproducibleBuilds
9
+
10
+ val repo = " Cloudsmith API" at " https://maven.cloudsmith.io/raboof/sbt-reproducible-builds/"
11
+
12
+ resolvers += repo
13
+ ReproducibleBuilds / publishTo := Some (repo)
14
+ ReproducibleBuilds / pomIncludeRepository := { x => false }
15
+
16
+ credentials += Credentials (
17
+ realm = " Cloudsmith API" ,
18
+ host = " maven.cloudsmith.io" ,
19
+ userName = " raboof-owner" ,
20
+ passwd = sys.env(" CLOUDSMITH_API_KEY" )
21
+ )
You can’t perform that action at this time.
0 commit comments