From efdf5c766012bb23b4a6b7cc7298374d96250779 Mon Sep 17 00:00:00 2001 From: Jason Park Date: Sun, 23 Jun 2019 19:45:16 +0900 Subject: [PATCH] Do not send tracers version when triggering build on `extractor.java` --- .travis.yml | 6 +++--- .travis/extractor.sh | 11 ++--------- build.gradle | 2 +- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 188145b..e0be2b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,8 @@ before_cache: - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - - "$HOME/.gradle/caches/" - - "$HOME/.gradle/wrapper/" + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ deploy: # Publish Javadoc to GitHub Pages - provider: pages @@ -31,7 +31,7 @@ deploy: # Trigger Travis CI to deploy `extractor.java` - provider: script - script: .travis/extractor.sh $TRAVIS_TAG $TRAVIS_ACCESS_TOKEN + script: .travis/extractor.sh $TRAVIS_ACCESS_TOKEN on: tags: true env: diff --git a/.travis/extractor.sh b/.travis/extractor.sh index 53eceaf..06b4f15 100755 --- a/.travis/extractor.sh +++ b/.travis/extractor.sh @@ -1,18 +1,11 @@ #!/usr/bin/env bash -TRAVIS_TAG=$1 -TRAVIS_ACCESS_TOKEN=$2 +TRAVIS_ACCESS_TOKEN=$1 GITHUB_USER="algorithm-visualizer" GITHUB_REPO="extractor.java" - BODY="{ \"request\": { - \"branch\": \"master\", - \"config\": { - \"env\": { - \"TRACERS_VERSION\": \"${TRAVIS_TAG}\" - } - } + \"branch\": \"master\" } }" diff --git a/build.gradle b/build.gradle index a9cb376..30d3cd5 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'java-library' apply plugin: 'maven' group = 'org.algorithm-visualizer' -version = '2.3.8' +version = '2.3.9' sourceCompatibility = 1.8 repositories {