Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme for v0.1.6 and add script to test release. #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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