From 3b6add394271d0124fe28f5eb23ef4f7e2ac28fa Mon Sep 17 00:00:00 2001 From: Sven-Torben Janus Date: Sat, 11 Dec 2021 18:45:00 +0100 Subject: [PATCH] chore: Allow release with snapsho test dependency Currently testcontainers-keycloak library is only available as a snapshot version for keycloak-x. This commit sets the keycloak distribution for releases to keycloak. This disables the profile that uses the snapshot dependency. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10f81b1..b95d979 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: ${{ runner.os }}-maven- - name: Release to GitHub packages run: | - mvn -B clean release:prepare release:perform -s maven-github-settings.xml --file pom.xml -DpushChanges=false -DlocalCheckout=true -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} + mvn -B clean release:prepare release:perform -s maven-github-settings.xml --file pom.xml -DpushChanges=false -DlocalCheckout=true -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} -Dkeycloak.dist=keycloak git push origin v${{ github.event.inputs.releaseVersion }} env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"