Skip to content

Commit

Permalink
Merge pull request #227 from majguo/revert-1_0_3
Browse files Browse the repository at this point in the history
Rollback to 1.0.2 and skip tests depending on azure services in release process
  • Loading branch information
majguo authored May 1, 2024
2 parents da1937e + 0207703 commit c5f86c8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/project.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
release:
current-version: "1.0.3"
current-version: "1.0.2"
next-version: "999-SNAPSHOT"

2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ jobs:
cache: 'maven'

- name: Build with Maven
# Skip any tests depending on real Azure serivces, e.g., azure-keyvault
run: mvn -B clean install -Dno-format -Dskip.azure.tests=true

- name: Build with Maven (Native)
# Skip any tests depending on real Azure serivces, e.g., azure-keyvault
run: mvn -B install -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip -Dskip.azure.tests=true
if: ${{ env.AZURE_CLIENT_ID == '' || env.AZURE_TENANT_ID == '' || env.AZURE_SUBSCRIPTION_ID == '' }}

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ jobs:
fi
- name: Maven release ${{steps.metadata.outputs.current-version}}
# Skip any tests depending on real Azure serivces, e.g., azure-keyvault
run: |
mvn -B release:prepare -Prelease -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}}
mvn -B release:perform -Darguments=-DperformRelease -DperformRelease -Prelease
mvn -B release:prepare -Prelease -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}} -Dskip.azure.tests=true
mvn -B release:perform -Darguments=-DperformRelease -DperformRelease -Prelease -Dskip.azure.tests=true
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/includes/attributes.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:project-version: 1.0.3
:project-version: 1.0.2

:examples-dir: ./../examples/

0 comments on commit c5f86c8

Please sign in to comment.