Skip to content

Commit

Permalink
First version release.
Browse files Browse the repository at this point in the history
  • Loading branch information
majusko committed Nov 9, 2019
1 parent e27782e commit 5aceb49
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@ language: java
jdk:
- oraclejdk8
dist: trusty
before_deploy:
- mvn help:evaluate -N -Dexpression=project.version|grep -v '\['
- export project_version=$(mvn help:evaluate -N -Dexpression=project.version|grep -v '\[')
after_success:
- bash <(curl -s https://codecov.io/bash)
script:
- mvn package
before_deploy:
- "mvn -DskipTests package"
- export FILE_TO_UPLOAD=$(ls target/grpc-apm-spring-boot-starter-*.jar)
- "echo $FILE_TO_UPLOAD"
deploy:
provider: releases
api_key:
secure: a3JGKTHoS4Da81nCMlHHlYB1gQtrE3ZzMT2px9Zs2IaKp9pi5eyDkQxd/6wlF6a7hF1KZhp/KbQWJBts0WybU/tdDqOLbskcdaxozX3LsoXQKBCURaLc0e5rxcVqFld0W0us24ax2R6MwR+25wtpiyghSPJ+RzOQB/EsZIav/b0y3BvnKTIp6pZ7+ppBPRyUo4x2F1KJcDUgzUFky3QRghhsKpXtUPB5L6qQM2WUt357ZH6Lb1jeKlEAtCySLoq1EJ1kCbs5D6XT3qOfUMW2ADUcVpPPzVlAphhuazaCePFN73sS4PofihO+yzgHqqahRZxhTG/T7xmsBYdXDNZOW2ffdYYvVwTHGyENWtu4ehYF747J9oEQJ2/AxsMhUET/F3QZmZgu4HQ7ed46tvPeqK+c0NAZtS9YC3De/Ocdr53eDDVuf9VZhMXoieagwmq+9iOtTGvqHo5i+nO6kbJteAf5IXVYHqcpwH5veZ0TFnufWPYlNlKvrh/e8xuBQ8lBcEvnJOR/RbdjqVtDAOwO4bWNlZ3NM7KVUl9CjeMF48+X6S+KxFF740lEwkFQoKSmtMO6OQZM4ZJRBXEpTz5ZxLNSZhonZhvM+xdB8YHRj09CV3J4rMm5sg/T12ib8Mic43nIAuJHj2KYaak5MARfkbqwVN69X7cMIS3ttcdx280=
file: target/grpc-apm-spring-boot-starter-$project_version.jar
file:
- "${FILE_TO_UPLOAD}"
skip_cleanup: true
overwrite: true
on:
repo: majusko/grpc-apm-spring-boot-starter
tags: true
branch: master
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Spring boot starter for [gRPC framework](https://grpc.io/) with [Elastic APM tracer](https://elastic.org/)

[![Release](https://jitpack.io/v/majusko/grpc-apm-spring-boot-starter.svg)](https://jitpack.io/#majusko/grpc-apm-spring-boot-starter)
[![Build Status](https://travis-ci.com/majusko/grpc-apm-spring-boot-starter.svg?branch=master)](https://travis-ci.com/majusko/grpc-apm-spring-boot-starter)
[![Test Coverage](https://codecov.io/gh/majusko/grpc-apm-spring-boot-starter/branch/master/graph/badge.svg)](https://codecov.io/gh/majusko/grpc-apm-spring-boot-starter/branch/master)

Expand All @@ -13,6 +14,15 @@ Quick start consist only from 2 simple steps.

#### 1. Add Maven dependency

```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```

```xml
<dependency>
<groupId>io.github.majusko</groupId>
Expand Down
24 changes: 23 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.majusko</groupId>
<artifactId>grpc-apm-spring-boot-starter</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0</version>
<name>grpc-apm-spring-boot-starter</name>
<description>Elastic APM Tracer for your Grpc Spring Boot project</description>

Expand Down Expand Up @@ -106,6 +106,7 @@
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down Expand Up @@ -140,4 +141,25 @@
</plugin>
</plugins>
</build>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:https://github.com/majusko/grpc-jwt-spring-boot-starter.git</connection>
<url>https://github.com/majusko/grpc-jwt-spring-boot-starter</url>
</scm>

<developers>
<developer>
<name>Mario Kapusta</name>
<email>[email protected]</email>
<organizationUrl>https://github.com/majusko</organizationUrl>
</developer>
</developers>
</project>

0 comments on commit 5aceb49

Please sign in to comment.