Skip to content

Commit b0b28ae

Browse files
Joel HansonGitHub Enterprise
Joel Hanson
authored and
GitHub Enterprise
committed
feat: Automate release using travis (#39)
Contributes to: event-integration/eventstreams-planning#12621 Signed-off-by: Joel Hanson <joel.hanson2@ibm.com>
1 parent b86b474 commit b0b28ae

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,15 @@ services:
44
- docker
55

66
script: mvn clean test verify
7+
8+
# Deployment configuration
9+
deploy:
10+
provider: releases
11+
api_key:
12+
secure: "$GITHUB_TOKEN" # You need to encrypt your API key
13+
file_glob: true
14+
file: target/*.jar # Specifies the JAR files to deploy
15+
skip_cleanup: true
16+
on:
17+
tags: true # Only deploy on tagged commits
18+
name: "Release: $TRAVIS_TAG"

0 commit comments

Comments
 (0)