Skip to content

Commit

Permalink
Push updated devel branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelirh committed Jun 5, 2024
1 parent 270d199 commit 32501e0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release-repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,15 @@ 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 32501e0

Please sign in to comment.