diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e692eb8f6..7d75eb6470 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,6 +74,21 @@ jobs: echo "Artifacts not found on maven central. Sleeping 30 seconds, retrying afterwards" sleep 30s done + + + update_major_branch: + name: "Update Major Branch" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + ref: main + #TODO: Use apmmachine + setup authorization (SSH?) + - run: .ci/release/update_major_branch.sh ${{ inputs.version }} + - name: Compute major.x branch + id: get_dotx_branch + run: echo "dotx_branch=$(echo '${{ inputs.version }}' | sed -E 's/\..+/.x/')" >> $GITHUB_OUTPUT + - run: git push -f origin ${{ steps.get_dotx_branch.outputs.dotx_branch }} update_cloudfoundry: name: "Update Cloudfoundry" @@ -119,6 +134,8 @@ jobs: publish_aws_lambda: name: "Publish AWS Lambda" runs-on: ubuntu-latest + #TODO: disabled for now + if: false outputs: arn_content: ${{ steps.arn_output.outputs.arn_content }} steps: @@ -148,6 +165,8 @@ jobs: create_github_release: name: "Create GitHub Release" + #TODO: disabled for now + if: false needs: - publish_aws_lambda runs-on: ubuntu-latest