From be430d2e9fb46898ea3db92ccdae7d394cef9b10 Mon Sep 17 00:00:00 2001 From: Samuel Audet Date: Tue, 14 Apr 2020 10:39:34 +0900 Subject: [PATCH] Release version 1.5.3 --- .travis.yml | 33 ++++++++++++++++++++++++++++++--- CHANGELOG.md | 1 + README.md | 8 ++++---- platform/pom.xml | 2 +- pom.xml | 2 +- 5 files changed, 37 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1d315601a..143e7183c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,33 @@ cache: - $HOME/.m2/repository before_install: - - "echo '${env.HOME}/.m2/repositorysonatype-nexus-snapshots${env.CI_DEPLOY_USERNAME}${env.CI_DEPLOY_PASSWORD}' > $HOME/settings.xml" - - "[[ $TRAVIS_PULL_REQUEST == 'false' ]] && export MAVEN_PHASE=deploy || export MAVEN_PHASE=install" + - > + echo ' + ${env.HOME}/.m2/repository + + + sonatype-nexus-snapshots + ${env.CI_DEPLOY_USERNAME} + ${env.CI_DEPLOY_PASSWORD} + + + sonatype-nexus-staging + ${env.CI_DEPLOY_USERNAME} + ${env.CI_DEPLOY_PASSWORD} + + + ' > $HOME/settings.xml + - > + if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then + export MAVEN_PHASE="install"; + elif [[ "$TRAVIS_BRANCH" != "release" ]]; then + export MAVEN_PHASE="deploy"; + else + curl -L "https://drive.google.com/uc?export=download&id=$GDOWNLOAD_ID" -o $HOME/settings.tar.gz; + tar -xzf $HOME/settings.tar.gz -C $HOME; + export GNUPGHOME="$HOME/.gnupg/"; + export MAVEN_PHASE="deploy -DperformRelease -DstagingRepositoryId=$STAGING_REPOSITORY"; + fi jobs: include: @@ -79,6 +104,7 @@ jobs: env: PLATFORMS="ios-arm64 ios-x86_64 macosx-x86_64" install: - brew install gpg1 + - export PATH="/usr/local/opt/gpg1/libexec/gpgbin/:$PATH" script: - mvn clean $MAVEN_PHASE -B -V -U -s $HOME/settings.xml -Djavacpp.platform=ios-arm64 -Dmaven.javadoc.skip -Dmaven.test.skip -Dinvoker.skip - mvn clean $MAVEN_PHASE -B -V -U -s $HOME/settings.xml -Djavacpp.platform=ios-x86_64 -Dmaven.javadoc.skip -Dmaven.test.skip -Dinvoker.skip @@ -88,9 +114,10 @@ jobs: env: PLATFORMS="windows-x86 windows-x86_64" install: - choco install jdk8 --params 'installdir=c:\\jdk8' + - choco install gnupg --version=2.2.20 - choco install maven --version=3.6.3 - export JAVA_HOME="/c/jdk8/" - - export PATH="$PATH:/c/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin/:/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build/" + - export PATH="/c/Program Files (x86)/gnupg/bin/:/c/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin/:/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build/:$PATH" script: - cmd.exe //C 'vcvarsall.bat x86 && mvn clean %MAVEN_PHASE% -B -V -U -s %HOME%/settings.xml -Djavacpp.platform=windows-x86 -Dmaven.javadoc.skip -Dmaven.test.skip -Dinvoker.skip' - cmd.exe //C 'vcvarsall.bat amd64 && mvn clean %MAVEN_PHASE% -B -V -U -s %HOME%/settings.xml -Djavacpp.platform=windows-x86_64' diff --git a/CHANGELOG.md b/CHANGELOG.md index a7a5ad066..14d40f34a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ +### April 14, 2020 version 1.5.3 * Deprecate but also fix `Indexer.rows()`, `cols()`, `width()`, `height()`, and `channels()` ([pull #390](https://github.com/bytedeco/javacpp/pull/390)) * Fix `Parser` producing invalid wrappers for basic containers like `std::set >` * Add compiler options for C++98, C++03, C++14, and C++17 to platform properties files ([pull #389](https://github.com/bytedeco/javacpp/pull/389)) diff --git a/README.md b/README.md index 4592ae91c..22c757a98 100644 --- a/README.md +++ b/README.md @@ -26,27 +26,27 @@ We can also have everything downloaded and installed automatically with: org.bytedeco javacpp - 1.5.2 + 1.5.3 ``` * Gradle (inside the `build.gradle` file) ```groovy dependencies { - compile group: 'org.bytedeco', name: 'javacpp', version: '1.5.2' + compile group: 'org.bytedeco', name: 'javacpp', version: '1.5.3' } ``` * Leiningen (inside the `project.clj` file) ```clojure :dependencies [ - [org.bytedeco/javacpp "1.5.2"] + [org.bytedeco/javacpp "1.5.3"] ] ``` * sbt (inside the `build.sbt` file) ```scala - libraryDependencies += "org.bytedeco" % "javacpp" % "1.5.2" + libraryDependencies += "org.bytedeco" % "javacpp" % "1.5.3" ``` Another option available for Scala users is [sbt-javacpp](https://github.com/bytedeco/sbt-javacpp). diff --git a/platform/pom.xml b/platform/pom.xml index 9aede2f9f..141bec71a 100644 --- a/platform/pom.xml +++ b/platform/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.bytedeco javacpp-platform - 1.5.3-SNAPSHOT + 1.5.3 JavaCPP Platform The missing bridge between Java and native C++ diff --git a/pom.xml b/pom.xml index 193f533bf..afe281eb3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.bytedeco javacpp - 1.5.3-SNAPSHOT + 1.5.3 JavaCPP The missing bridge between Java and native C++