diff --git a/.github/workflows/olm.yaml b/.github/workflows/olm.yaml index b393b96b1..bc9ca5980 100644 --- a/.github/workflows/olm.yaml +++ b/.github/workflows/olm.yaml @@ -1,10 +1,6 @@ name: "Publish to operatorHUB" on: workflow_dispatch: - inputs: - version: - description: version of the operator to publish - required: true jobs: operator-hub-prod-release: diff --git a/.github/workflows/reusable-operator-hub-release.yaml b/.github/workflows/reusable-operator-hub-release.yaml index 7bd89d574..5be6ee25e 100644 --- a/.github/workflows/reusable-operator-hub-release.yaml +++ b/.github/workflows/reusable-operator-hub-release.yaml @@ -36,13 +36,6 @@ jobs: --source ${{ inputs.org }}/${{ inputs.repo }} \ --force - - name: Determine operator version to release - id: operator-version - run: echo "version=$(grep -Eo '## [0-9]+\.[0-9]+\.[0-9]+' CHANGELOG.md | head -n 1 | awk '{print $2}')" >> "$GITHUB_OUTPUT" - env: - BRANCH: ${{ inputs.branch }} - - - name: Checkout operatorhub repo uses: actions/checkout@v4 with: @@ -56,6 +49,10 @@ jobs: token: ${{ secrets.TEMPOOPERATORBOT_GITHUB_TOKEN }} path: tmp/ + - name: Determine operator version to release + id: operator-version + run: echo "version=$(grep -Eo '## [0-9]+\.[0-9]+\.[0-9]+' tmp/CHANGELOG.md | head -n 1 | awk '{print $2}')" >> "$GITHUB_OUTPUT" + - name: Update version env: VERSION: ${{ steps.operator-version.outputs.version }} diff --git a/events.txt b/events.txt new file mode 100644 index 000000000..e69de29bb