Skip to content

Commit a8dfff8

Browse files
Merge pull request #26 from mxenabled/bm/update_variables
Update CI variables
2 parents a24412b + d563d5e commit a8dfff8

5 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ jobs:
2727
server-id: ossrh
2828
server-username: MAVEN_USERNAME
2929
server-password: MAVEN_CENTRAL_TOKEN
30-
gpg-private-key: MAVEN_GPG_PRIVATE_KEY
30+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
3131
gpg-passphrase: MAVEN_GPG_PASSPHRASE
3232

3333
- name: Publish to Apache Maven Central
3434
run: mvn deploy -P sign-artifacts
3535
env:
36+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
3637
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
3738
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
38-
MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
39-
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mvn clean package
2424
```
2525

2626
Then manually install the following JARs:
27-
- `target/mx-platform-java-0.4.1.jar`
27+
- `target/mx-platform-java-0.4.2.jar`
2828
- `target/lib/*.jar`
2929

3030
### Maven users
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
3535
<dependency>
3636
<groupId>com.mx</groupId>
3737
<artifactId>mx-platform-java</artifactId>
38-
<version>0.4.1</version>
38+
<version>0.4.2</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiPackage: "com.mx.client.mx-platform-api"
22
artifactDescription: "A Java library for the MX Platform API"
33
artifactId: "mx-platform-java"
44
artifactUrl: "https://github.com/mxenabled/mx-platform-java"
5-
artifactVersion: 0.4.1
5+
artifactVersion: 0.4.2
66
developerEmail: "devexperience@mx.com"
77
developerName: "MX"
88
developerOrganization: "MX Technologies Inc."

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
55
<artifactId>mx-platform-java</artifactId>
66
<packaging>jar</packaging>
77
<name>mx-platform-java</name>
8-
<version>0.4.1</version>
8+
<version>0.4.2</version>
99
<url>https://github.com/mxenabled/mx-platform-java</url>
1010
<description>A Java library for the MX Platform API</description>
1111
<scm>

src/main/java/com/mx/client/ApiClient.java

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

127127
// Set default User-Agent.
128-
setUserAgent("OpenAPI-Generator/0.4.1/java");
128+
setUserAgent("OpenAPI-Generator/0.4.2/java");
129129

130130
authentications = new HashMap<String, Authentication>();
131131
}

0 commit comments

Comments
 (0)