Skip to content

Commit

Permalink
Restore separate checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelirh committed Jun 5, 2024
1 parent 32501e0 commit e010864
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release-repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,14 @@ jobs:
# --title ${{ github.event.inputs.release_name }} \
# --generate-notes

# - name: Checkout to devel branch
# if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
# uses: actions/checkout@v4
# with:
# ref: ${{ env.DEVEL_BRANCH }}
- name: Checkout to devel branch
if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
uses: actions/checkout@v4
with:
ref: ${{ env.DEVEL_BRANCH }}

- name: Update version in devel branch
if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
run: |
git checkout ${{ env.DEVEL_BRANCH }}
git pull origin ${{ env.MAIN_BRANCH }}
git push origin ${{ env.DEVEL_BRANCH }}

0 comments on commit e010864

Please sign in to comment.