fix: Fix release pipeline
This commit is contained in:
parent
df800dd50c
commit
bc0bf00947
1 changed files with 3 additions and 3 deletions
|
@ -60,15 +60,15 @@ jobs:
|
|||
git push origin HEAD:${{ env.RELEASE_BRANCH }}
|
||||
|
||||
- name: Checkout target branch
|
||||
if: ${{ steps.semantic.outputs.new_release_published && !env.SKIP_MERGE }}
|
||||
if: ${{ steps.semantic.outputs.new_release_published && !(env.SKIP_MERGE == true) }}
|
||||
run: git reset --hard && git checkout ${{ env.TARGET_BRANCH }} && git pull
|
||||
|
||||
- name: Merge release
|
||||
if: ${{ steps.semantic.outputs.new_release_published && !env.SKIP_MERGE }}
|
||||
if: ${{ steps.semantic.outputs.new_release_published && !(env.SKIP_MERGE == true) }}
|
||||
run: git merge ${{ env.RELEASE_BRANCH }}
|
||||
|
||||
- name: Push changes to target branch
|
||||
if: ${{ steps.semantic.outputs.new_release_published && !env.SKIP_MERGE }}
|
||||
if: ${{ steps.semantic.outputs.new_release_published && !(env.SKIP_MERGE == true) }}
|
||||
run: |
|
||||
git remote set-url origin git@${{ env.GITEA_DOMAIN }}:${{ github.repository }}.git
|
||||
git push origin HEAD:${{ env.TARGET_BRANCH }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue