mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-21 13:04:28 +02:00
Publish snapshot version to sonatype
This commit is contained in:
parent
7dc0ad5401
commit
6e1d9eb9ca
@ -17,7 +17,7 @@ jdk:
|
|||||||
script:
|
script:
|
||||||
- if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
|
- if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
|
||||||
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
make native-all && ./sbt test;
|
make native-all && ./sbt "; test; publish";
|
||||||
else
|
else
|
||||||
./sbt test;
|
./sbt test;
|
||||||
fi;
|
fi;
|
||||||
|
@ -10,6 +10,11 @@ description := "snappy-java: A fast compression/decompression library"
|
|||||||
|
|
||||||
sonatypeProfileName := "org.xerial"
|
sonatypeProfileName := "org.xerial"
|
||||||
|
|
||||||
|
credentials += Credentials("Sonatype Nexus Repository Manager",
|
||||||
|
"oss.sonatype.org",
|
||||||
|
sys.env.getOrElse("SONATYPE_USERNAME", ""),
|
||||||
|
sys.env.getOrElse("SONATYPE_PASSWORD", ""))
|
||||||
|
|
||||||
pomExtra := {
|
pomExtra := {
|
||||||
<url>https://github.com/xerial/snappy-java</url>
|
<url>https://github.com/xerial/snappy-java</url>
|
||||||
<licenses>
|
<licenses>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user