diff --git a/.drone.yml b/.drone.yml index 5ee05c5..51da487 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,8 +1,8 @@ kind: pipeline name: default steps: - - name: build - image: tindzk/seed:0.1.4 + - name: test + image: tindzk/seed:0.1.6-15-gac088b5 commands: - apk add --no-cache yarn - yarn add jsdom @@ -18,3 +18,30 @@ steps: - rm -rf .bloop build - seed --build=build213.toml bloop - bloop test pine-jvm pine-js + - name: publish_prerelease + image: tindzk/seed:0.1.6-15-gac088b5 + commands: + - apk add --no-cache git + - git fetch --tags + - blp-server & + - seed --build=build211.toml bloop + - seed publish --build=build211.toml bintray:tindzk/maven2/experiments2 pine:native pine:js pine:jvm + - sleep 5 + - rm -rf .bloop build + - seed --build=build212.toml bloop + - seed publish --build=build212.toml bintray:tindzk/maven2/experiments2 pine:js pine:jvm + - sleep 5 + - rm -rf .bloop build + - seed --build=build213.toml bloop + - seed publish --build=build213.toml bintray:tindzk/maven2/experiments2 pine:js pine:jvm + environment: + BINTRAY_USER: + from_secret: bintray_user + BINTRAY_API_KEY: + from_secret: bintray_api_key + when: + branch: + - master + - feat/publish # TODO remove + event: + - push diff --git a/build211.toml b/build211.toml index a208030..0357c67 100644 --- a/build211.toml +++ b/build211.toml @@ -1,3 +1,9 @@ +[package] +url = "https://github.com/sparsetech/pine/" +name = "pine" +organisation = "tech.sparse" +developers = [["tindzk", "Tim Nieradzik", "tim@sparse.tech"]] + [project] scalaVersion = "2.11.11-bin-typelevel-4" scalaJsVersion = "0.6.28" diff --git a/build212.toml b/build212.toml index b4fb661..0754ef7 100644 --- a/build212.toml +++ b/build212.toml @@ -1,3 +1,9 @@ +[package] +url = "https://github.com/sparsetech/pine/" +name = "pine" +organisation = "tech.sparse" +developers = [["tindzk", "Tim Nieradzik", "tim@sparse.tech"]] + [project] scalaVersion = "2.12.4-bin-typelevel-4" scalaJsVersion = "0.6.28" diff --git a/build213.toml b/build213.toml index 8e08062..f98467f 100644 --- a/build213.toml +++ b/build213.toml @@ -1,3 +1,9 @@ +[package] +url = "https://github.com/sparsetech/pine/" +name = "pine" +organisation = "tech.sparse" +developers = [["tindzk", "Tim Nieradzik", "tim@sparse.tech"]] + [project] scalaVersion = "2.13.0" scalaJsVersion = "0.6.28"