Skip to content

Commit

Permalink
SWI-6181 Update User Agent Header (#160)
Browse files Browse the repository at this point in the history
* SWI-6181 Update User Agent Header

* update wf

* update pom

* pom again
  • Loading branch information
ckoegel authored Dec 2, 2024
1 parent 6e7ba42 commit 6d8d36e
Show file tree
Hide file tree
Showing 11 changed files with 645 additions and 109 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Build SDK
uses: Bandwidth/[email protected]
with:
openapi-generator-version: 7.9.0
language: java
additional-properties: --additional-properties=artifactVersion=$RELEASE_VERSION

- name: Clean SDK
run: mvn clean

- name: Set Maven Project Version
run: mvn versions:set -DnewVersion=$RELEASE_VERSION

Expand Down Expand Up @@ -131,6 +141,16 @@ jobs:
- name: Get Maven Project Version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV

- name: Build SDK
uses: Bandwidth/[email protected]
with:
openapi-generator-version: 7.9.0
language: java
additional-properties: --additional-properties=artifactVersion=$RELEASE_VERSION

- name: Clean SDK
run: mvn clean

- name: Set Maven Project Version
run: mvn versions:set -DnewVersion=$RELEASE_VERSION

Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

pom.xml
# pom.xml
.idea
.gitignore
.github/workflows/maven.yml
Expand Down
1 change: 1 addition & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.properties
gradlew
gradlew.bat
pom.xml
settings.gradle
src/main/AndroidManifest.xml
src/main/java/com/bandwidth/sdk/ApiCallback.java
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>10.1.0</version>
<version>1.0.0-dev</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:10.1.0"
implementation "com.bandwidth.sdk:bandwidth-sdk:1.0.0-dev"
}
```

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

Then manually install the following JARs:

* `target/bandwidth-sdk-10.1.0.jar`
* `target/bandwidth-sdk-1.0.0-dev.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 = '10.1.0'
version = '1.0.0-dev'

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 := "10.1.0",
version := "1.0.0-dev",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
Loading

0 comments on commit 6d8d36e

Please sign in to comment.