Skip to content

Commit 7c80d60

Browse files
committed
Fix deploy release travis to github
1 parent 8b29ebd commit 7c80d60

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@ script:
66
- mvn versions:set -DnewVersion=$version
77
- mvn clean package
88

9+
before_deploy:
10+
- echo "ls"
11+
- ls
12+
- echo "ls target"
13+
- ls target
14+
- mkdir target/jars
15+
- cp target/*.jar target/jars
16+
917
deploy:
1018
provider: releases
1119
api_key: "$GITHUB_API_KEY"
12-
file: "target/*.jar"
20+
file: "target/jars/*"
1321
skip_cleanup: true
1422
on:
1523
tags: true

0 commit comments

Comments
 (0)