Skip to content

update to snapshot 24.2.0-snapshot #160

update to snapshot 24.2.0-snapshot

update to snapshot 24.2.0-snapshot #160

Workflow file for this run

name: merge-release
env:
API_USER: ${{ secrets.API_USER }}
# Merges the 'develop' branch into release on pushes to 'develop'
defaults:
run:
shell: bash
on:
push:
branches: [develop]
jobs:
merge-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
ref: develop
- name: setup/git
run: |
git config --global user.email "${API_USER}@twitter.com"
git config --global user.name "$API_USER"
git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
- name: merge
run: |
develop_head=$(git rev-parse HEAD)
git fetch --no-tags --prune origin +refs/heads/*:refs/remotes/origin/*
git checkout release && git merge "$develop_head" && git push -f origin release