Skip to content

Commit

Permalink
Do not send tracers version when triggering build on extractor.java
Browse files Browse the repository at this point in the history
  • Loading branch information
64json committed Jun 23, 2019
1 parent 086f3aa commit efdf5c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
11 changes: 2 additions & 9 deletions .travis/extractor.sh
Original file line number Diff line number Diff line change
@@ -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\"
}
}"

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit efdf5c7

Please sign in to comment.