From b5a3d34fdd06e9ba2469474eaf6b3b640c213d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93lafur=20P=C3=A1ll=20Geirsson?= Date: Fri, 5 Apr 2019 14:07:12 +0200 Subject: [PATCH] Update readme for v0.1.6 and add script to test release. --- README.md | 8 ++++++-- bin/testRelease.sh | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100755 bin/testRelease.sh diff --git a/README.md b/README.md index 4fdf802..32a74ab 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ SourceCode [![Build Status](https://travis-ci.org/lihaoyi/sourcecode.svg?branch= ========== ```scala -"com.lihaoyi" %% "sourcecode" % "0.1.5" // Scala-JVM -"com.lihaoyi" %%% "sourcecode" % "0.1.5" // Scala.js / Scala Native +"com.lihaoyi" %% "sourcecode" % "0.1.6" // Scala-JVM +"com.lihaoyi" %%% "sourcecode" % "0.1.6" // Scala.js / Scala Native ``` `sourcecode` is a small Scala library for that provides common "source code" @@ -599,6 +599,10 @@ in its `.toString` method. Version History =============== +0.1.6 +----- +- Add Automatic-Module-Name for Java 9 compatibility, [#49](https://github.com/lihaoyi/sourcecode/pull/49) +- Add Scala 2.13.0-RC1 support 0.1.5 ----- diff --git a/bin/testRelease.sh b/bin/testRelease.sh new file mode 100755 index 0000000..ea1d5ae --- /dev/null +++ b/bin/testRelease.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +set -eux + +VERSION=$1 +coursier fetch \ + com.lihaoyi:sourcecode_2.10:$VERSION \ + com.lihaoyi:sourcecode_2.11:$VERSION \ + com.lihaoyi:sourcecode_2.12:$VERSION \ + com.lihaoyi:sourcecode_2.13.0-RC1:$VERSION \ + com.lihaoyi:sourcecode_2.13.0-RC1:$VERSION \ + com.lihaoyi:sourcecode_native0.3_2.11:$VERSION \ + com.lihaoyi:sourcecode_sjs0.6_2.10:$VERSION \ + com.lihaoyi:sourcecode_sjs0.6_2.11:$VERSION \ + com.lihaoyi:sourcecode_sjs0.6_2.12:$VERSION \ + com.lihaoyi:sourcecode_sjs0.6_2.13.0-RC1:$VERSION \ + com.lihaoyi:sourcecode_sjs0.6_2.13.0-RC1:$VERSION \ + -r sonatype:public