diff --git a/.github/workflows/buildAndRelease.yml b/.github/workflows/buildAndRelease.yml index ca78331..2ec6abd 100755 --- a/.github/workflows/buildAndRelease.yml +++ b/.github/workflows/buildAndRelease.yml @@ -26,3 +26,22 @@ jobs: ${{ runner.os }}-maven- - name: Build with Maven run: mvn -B clean package --file pom.xml + + + release: + + runs-on: ubuntu-latest + + needs: build + + steps: + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: target/keycloak-restrict-client-auth.jar + body_path: RELEASELOG + draft: true + fail_on_unmatched_files: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 6d5f2e6..834032f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# keycloak-restrict-client-auth +# Keycloak: Authenticator - Restrict client authentication A Keycloak authenticator to restrict authentication on clients diff --git a/RELEASELOG b/RELEASELOG new file mode 100755 index 0000000..6d26ae9 --- /dev/null +++ b/RELEASELOG @@ -0,0 +1 @@ +First version - just a preview \ No newline at end of file