Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
release:
types:
- published

env:
OPENAPI_GENERATOR_VERSION: 7.10.0

jobs:
deploy_pre_release:
name: Deploy OpenAPI Generator Client Pre-Release to Maven
Expand Down Expand Up @@ -63,7 +67,7 @@ jobs:
- name: Build SDK
uses: Bandwidth/[email protected]
with:
openapi-generator-version: 7.10.0
openapi-generator-version: ${{ env.OPENAPI_GENERATOR_VERSION }}
language: java
additional-properties: --additional-properties=artifactVersion=$RELEASE_VERSION

Expand Down Expand Up @@ -144,7 +148,7 @@ jobs:
- name: Build SDK
uses: Bandwidth/[email protected]
with:
openapi-generator-version: 7.9.0
openapi-generator-version: ${{ env.OPENAPI_GENERATOR_VERSION }}
language: java
additional-properties: --additional-properties=artifactVersion=$RELEASE_VERSION

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.bandwidth.sdk</groupId>
<artifactId>bandwidth-sdk</artifactId>
<version>1.0.0-dev</version>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -57,7 +57,7 @@ Add this dependency to your project's build file:
}

dependencies {
implementation "com.bandwidth.sdk:bandwidth-sdk:1.0.0-dev"
implementation "com.bandwidth.sdk:bandwidth-sdk:1.0.0"
}
```

Expand All @@ -71,7 +71,7 @@ mvn clean package

Then manually install the following JARs:

* `target/bandwidth-sdk-1.0.0-dev.jar`
* `target/bandwidth-sdk-1.0.0.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'com.bandwidth.sdk'
version = '1.0.0-dev'
version = '1.0.0'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.bandwidth.sdk",
name := "bandwidth-sdk",
version := "1.0.0-dev",
version := "1.0.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
1 change: 0 additions & 1 deletion openapi-config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
artifactId: bandwidth-sdk
artifactVersion: 1.0.0-dev
artifactDescription: The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs
artifactUrl: https://github.com/Bandwidth/java-sdk
developerName: Bandwidth Support
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>bandwidth-sdk</artifactId>
<packaging>jar</packaging>
<name>bandwidth-sdk</name>
<version>1.0.0-dev</version>
<version>1.0.0</version>
<url>https://github.com/Bandwidth/java-sdk</url>
<description>The official client SDK for Bandwidth&#39;s Voice, Messaging, MFA, and WebRTC APIs</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/1.0.0-dev/java");
setUserAgent("OpenAPI-Generator/1.0.0/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
public class Configuration {
public static final String VERSION = "1.0.0-dev";
public static final String VERSION = "1.0.0";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down