File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,19 @@ script:
36
36
- mvn surefire:test -Pintegration-tests
37
37
after_success :
38
38
- ' if [ "$TRAVIS_PULL_REQUEST" = "false" -a "$TRAVIS_BRANCH" = "master" -a "$CASSANDRA_VERSION" = "2.1.16" ]; then mvn sonar:sonar -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_TOKEN -Dsonar.projectKey=tlp-cassandra-reaper -Dsonar.github.oauth=$GITHUB_TOKEN -Dsonar.github.repository=thelastpickle/cassandra-reaper; fi'
39
+ before_deploy :
40
+ - " mkdir cassandra-reaper-${TRAVIS_TAG}"
41
+ - " mkdir cassandra-reaper-${TRAVIS_TAG}/target"
42
+ - " cp -R bin cassandra-reaper-${TRAVIS_TAG}/"
43
+ - " cp target/cassandra-reaper-*.jar cassandra-reaper-${TRAVIS_TAG}/target"
44
+ - " cp -R resource cassandra-reaper-${TRAVIS_TAG}/"
45
+ - " tar czf cassandra-reaper-${TRAVIS_TAG}-release.tar.gz cassandra-reaper-${TRAVIS_TAG}/"
39
46
deploy :
40
47
provider : releases
41
48
api_key : $GITHUB_TOKEN
42
49
file_glob : true
43
50
file :
44
- - " target/cassandra*.jar"
45
- - " resource/*.yaml"
46
- - " bin/*"
47
- - " debian/*"
51
+ - " cassandra-reaper-${TRAVIS_TAG}-release.tar.gz"
48
52
skip_cleanup : true
49
53
on :
50
54
tags : true
You can’t perform that action at this time.
0 commit comments