Skip to content

Commit

Permalink
Added job to update major branch
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Feb 10, 2023
1 parent f5da4c3 commit 3dc57bb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,18 @@ 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 }}
- run: git push -f origin "$(echo '${{ inputs.version }}' | sed -E 's/\..+/.x/')"

update_cloudfoundry:
name: "Update Cloudfoundry"
Expand Down Expand Up @@ -119,6 +131,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:
Expand Down Expand Up @@ -148,6 +162,8 @@ jobs:

create_github_release:
name: "Create GitHub Release"
#TODO: disabled for now
if: false
needs:
- publish_aws_lambda
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3dc57bb

Please sign in to comment.