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