Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

Commit 6d23614

Browse files
committed
feat: publish on gitlab
1 parent dddfd07 commit 6d23614

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.gitlab-ci.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,18 @@ version:
1616
extends: .version
1717
tags: []
1818

19-
publish on bintray:
20-
extends: .bintray-publish
21-
tags: []
22-
variables:
23-
BINTRAY_USER: tyrcho
19+
publish on gitlab:
20+
stage: publish
21+
only:
22+
- master
23+
script:
24+
- sbt "+ publish"
25+
26+
image: hseeberger/scala-sbt:11.0.4_1.3.2_2.12.10
27+
variables:
28+
SBT_OPTS: "-Dsbt.global.base=sbt-cache/sbtboot -Dsbt.boot.directory=sbt-cache/boot -Dsbt.ivy.home=sbt-cache/ivy"
29+
COURSIER_CACHE: "sbt-cache/coursier"
30+
cache:
31+
key: "sbt-$CI_BUILD_REF_NAME"
32+
paths:
33+
- sbt-cache

project/build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
resolvers += Resolver.bintrayRepo("gilcloud", "maven")

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.6.1")
1+
addSbtPlugin("com.gilcloud" % "sbt-gitlab" % "0.0.6")
22
addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.2.16")
33
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")

0 commit comments

Comments
 (0)