Skip to content

Commit

Permalink
Merge pull request #513 from commercetools/fix-example-version
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Nov 2, 2023
2 parents 55c823b + fb5897c commit b63d823
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:

- name: Test examples
run: |
./gradlew writeVersionToExamples
cd examples/maven-okhttp3 && mvn verify --no-transfer-progress
cd ../maven-okhttp4 && mvn verify --no-transfer-progress
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,12 @@ jobs:

- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4

- run: ./gradlew -Pversion=${{ github.ref_name }} writeVersionToReadme setVersion nextMinorVersion snapshotVersion
- run: ./gradlew -Pversion=${{ github.ref_name }} writeVersionToExamples writeVersionToReadme setVersion nextMinorVersion snapshotVersion

- name: "remove API reference commit SHA"
run: rm -rf reference.txt
continue-on-error: true

- run: ./gradlew writeVersionToExamples

- uses: stefanzweifel/git-auto-commit-action@3d1b5e078a85df99db0cb2441cd4309b09d86253
with:
commit_message: "TASK: Updating version in README"
Expand Down
2 changes: 1 addition & 1 deletion examples/maven-okhttp3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</plugins>
</build>
<properties>
<commercetools.version>17.1.0-SNAPSHOT</commercetools.version>
<commercetools.version>17.1.0</commercetools.version>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/maven-okhttp4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</plugins>
</build>
<properties>
<commercetools.version>17.1.0-SNAPSHOT</commercetools.version>
<commercetools.version>17.1.0</commercetools.version>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-newrelic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {

ext {
versions = [
commercetools: "17.1.0-SNAPSHOT",
commercetools: "17.1.0",
newrelic: "8.0.1"
]
}
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-otel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {

ext {
versions = [
commercetools: "17.1.0-SNAPSHOT",
commercetools: "17.1.0",
]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/spring/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spotless {

ext {
versions = [
commercetools: "17.1.0-SNAPSHOT",
commercetools: "17.1.0",
newrelic: "7.7.0"
]
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Wed Nov 01 12:37:01 UTC 2023
kotlinVersion=1.5.30
org.gradle.jvmargs=-Xmx2048m
version=17.1.0-SNAPSHOT
version=17.2.0-SNAPSHOT

0 comments on commit b63d823

Please sign in to comment.