Skip to content

Commit dfb00fc

Browse files
authored
Merge pull request #24 from messente/travis
release version 4.5.1
2 parents f42de69 + 2b95c69 commit dfb00fc

7 files changed

Lines changed: 31 additions & 36 deletions

File tree

.github/workflows/maven.yml

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
1-
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3-
#
4-
# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech)
5-
6-
name: Java CI with Maven
7-
8-
on:
9-
push:
10-
branches: [ main, master ]
11-
pull_request:
12-
branches: [ main, master ]
1+
name: Publish package to the Maven Central Repository
132

143
jobs:
15-
build:
16-
name: Build Messente API
4+
publish:
175
runs-on: ubuntu-latest
18-
strategy:
19-
matrix:
20-
java: [ 17, 21 ]
216
steps:
22-
- uses: actions/checkout@v4
23-
- name: Set up JDK
24-
uses: actions/setup-java@v4
25-
with:
26-
java-version: ${{ matrix.java }}
27-
distribution: 'temurin'
28-
cache: maven
29-
- name: Build with Maven
30-
run: mvn -B package --no-transfer-progress --file pom.xml
7+
- uses: actions/checkout@v4
8+
- name: Set up Java
9+
uses: actions/setup-java@v4
10+
with:
11+
java-version: '11'
12+
distribution: 'temurin'
13+
14+
- name: Publish Artifacts
15+
env:
16+
ORG_GRADLE_PROJECT_mavenCentralUsername: $
17+
ORG_GRADLE_PROJECT_mavenCentralPassword: $
18+
ORG_GRADLE_PROJECT_signingInMemoryKey: $
19+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: $
20+
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --no-daemon
21+
22+
on:
23+
push:
24+
tags:
25+
- *

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Messente API Library
22

33
- Messente API version: 2.0.0
4-
- Java artifact version: 4.5.0
4+
- Java artifact version: 4.5.1
55

66
[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
77

@@ -13,7 +13,7 @@ Install Messente API library via Maven, Gradle, Ivy or manual build.
1313

1414
```groovy
1515
dependencies {
16-
implementation 'com.messente.api:messente-api:4.5.0'
16+
implementation 'com.messente.api:messente-api:4.5.1'
1717
}
1818
```
1919

@@ -23,14 +23,14 @@ dependencies {
2323
<dependency>
2424
<groupId>com.messente.api</groupId>
2525
<artifactId>messente-api</artifactId>
26-
<version>4.5.0</version>
26+
<version>4.5.1</version>
2727
</dependency>
2828
```
2929

3030
### Ivy
3131

3232
```xml
33-
<dependency org='com.messente.api' name='messente-api' rev='4.5.0'/>
33+
<dependency org='com.messente.api' name='messente-api' rev='4.5.1'/>
3434
```
3535

3636
### Manual Build
@@ -43,7 +43,7 @@ mvn clean package
4343

4444
Install
4545

46-
- `target/messente-api-4.5.0.jar`
46+
- `target/messente-api-4.5.1.jar`
4747
- `target/lib/*.jar`
4848

4949
## Features

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ apply plugin: 'java'
2222
apply plugin: 'com.diffplug.spotless'
2323

2424
group = 'com.messente.api'
25-
version = '4.5.0'
25+
version = '4.5.1'
2626

2727
ext {
2828
jakarta_annotation_version = "1.3.5"

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.messente.api",
44
name := "messente-api",
5-
version := "4.5.0",
5+
version := "4.5.1",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>messente-api</artifactId>
66
<packaging>jar</packaging>
77
<name>messente-api</name>
8-
<version>4.5.0</version>
8+
<version>4.5.1</version>
99
<url>https://github.com/messente/messente-api-java</url>
1010
<description>Java library for Messente API</description>
1111
<scm>

src/main/java/com/messente/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private void init() {
145145
json = new JSON();
146146

147147
// Set default User-Agent.
148-
setUserAgent("OpenAPI-Generator/4.5.0/java");
148+
setUserAgent("OpenAPI-Generator/4.5.1/java");
149149

150150
authentications = new HashMap<String, Authentication>();
151151
}

src/main/java/com/messente/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.11.0")
1717
public class Configuration {
18-
public static final String VERSION = "4.5.0";
18+
public static final String VERSION = "4.5.1";
1919

2020
private static ApiClient defaultApiClient = new ApiClient();
2121

0 commit comments

Comments
 (0)