diff --git a/.github/project.yml b/.github/project.yml index 8f2d858ff..b5e4c54c3 100644 --- a/.github/project.yml +++ b/.github/project.yml @@ -1,5 +1,5 @@ name: SmallRye Reactive Messaging release: previous-version: 4.25.0 - current-version: 4.26.0-RC1 + current-version: 4.26.0-RC2 next-version: 999-SNAPSHOT diff --git a/.github/workflows/push-deploy-docs.yml b/.github/workflows/push-deploy-docs.yml index a93a29620..41f09121b 100644 --- a/.github/workflows/push-deploy-docs.yml +++ b/.github/workflows/push-deploy-docs.yml @@ -3,15 +3,17 @@ run-name: Deploy ${{github.event.inputs.version || github.ref_name}} Docs on: workflow_dispatch: - workflow_call: inputs: version: description: 'Release version' type: string + workflow_call: jobs: deploy-docs: runs-on: ubuntu-latest + env: + RELEASE_VERSION: ${{ github.event.inputs.version }} steps: - name: Git checkout @@ -34,5 +36,8 @@ jobs: cache-dependency-path: documentation/Pipfile.lock - name: Install pipenv run: pip install pipenv + - name: Set Release Version + run: | + echo "RELEASE_VERSION=${RELEASE_VERSION:-"$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)"}" >> $GITHUB_ENV - name: Perform the deploy docs - run: just build-ci deploy-docs ${{ github.event.inputs.version }} + run: just build-ci deploy-docs ${{ env.RELEASE_VERSION }}