Skip to content

Commit

Permalink
Update readme for v0.1.6 and add script to test release.
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Apr 6, 2019
1 parent 32c21e8 commit b5a3d34
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
-----
Expand Down
17 changes: 17 additions & 0 deletions bin/testRelease.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b5a3d34

Please sign in to comment.