Skip to content

Commit

Permalink
Fixes for Travis deploy!
Browse files Browse the repository at this point in the history
  • Loading branch information
keenan-v1 committed Nov 13, 2016
1 parent 097b19f commit 5c29674
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ language: java
jdk:
- oraclejdk8
before_install: mvn validate
before_deply: "cp ./target/MapViewer*.jar ./target/MapViewer.jar"
before_deploy:
- export RELEASE_PKG_FILE=$(ls ./target/*.jar)
- echo "deploying $RELEASE_PKG_FILE to GitHub releases"
deploy:
provider: releases
api_key:
secure: ChL1DjnvjqsKBtCYa9+93s9Mq7YUxIT9lCHmYpeiZJZXjrAkhov6YFUmWkoWlL1EtQ1xWK0zyVfEDGWt9atIC9IW4sgLwikn84fYMrfWJdA8/+oAwohqZSJYwmx09sZZukasRGi1Kv10eDqia3QgOqYjaNQ+NvcUMB1CGyRpiNDQH5RfR+rCtcNIr1kCCXMht5OopyY0m/OJDhUJMdrrjqjzeb1MqOSoh9Ai5nZUyNUiIPqYtBbD7RlUtdiZKHY5lvxJGgf4D1tOT56XWeKi219iMQjOZUud2ADPPeai09MARgCTbfLOQ33Qi3J9lWiZ8hsb9KDcJuvgBCnvU2TD9vkBhEtPB2Biqj6MFeVo8KqB2hUJLdqgoKDt0Ltaouv7w3UC/QssrnZbzIq8Jpwy/iHbv/JgVubpzuIlaOTEE39bLYqdv7bhAH+bqJZkuYKjsNkpASdnocZPOrm0ol/VUFsePkk+0pa9GNcgVs75niA6U7D1UN2DSOAQL32zpEQ4F++KKx2R1GlrbogU60PbQgEvRjHkV9oOa4jLjmMzhuF0fkGt2vGh/T78y6UNDsB4WBpQLL5SacDiyq3Flsd7ETxbV/jQGLde5ZvwWwV0CxicZ3zEkUs8kvmXpdO3CxB58JV+GdKolxRIVHhwrsgzoYBFwpPuhMyg07MQVv590eE=
file: "./target/MapViewer.jar"
file_glob: true
file: "${RELEASE_PKG_FILE}"
skip_cleanup: true
on:
tags: true
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>groupId</groupId>
<artifactId>MapViewer</artifactId>
<version>1.3-SNAPSHOT</version>
<version>1.3.1</version>
<packaging>jar</packaging>

<name>Wurm Map Viewer</name>
Expand Down

0 comments on commit 5c29674

Please sign in to comment.