Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/release-finish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@ jobs:
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"

- name: Fetch all branches
run: |
git fetch origin main:main
git fetch origin develop:develop
git fetch origin ${{ steps.extract_release.outputs.branch_name }}

- name: Initialize git-flow
run: |
# Initialize git-flow with default settings
git config gitflow.branch.master main
git flow init -d

- name: Extract release name
Expand All @@ -61,12 +68,6 @@ jobs:
echo "branch_name=$BRANCH_NAME" >> $GITHUB_OUTPUT
echo "Extracted release name: $RELEASE_NAME"

- name: Fetch all branches
run: |
git fetch origin main:main
git fetch origin develop:develop
git fetch origin ${{ steps.extract_release.outputs.branch_name }}

- name: Finish git-flow release
run: |
echo "🏁 Finishing git-flow release: ${{ steps.extract_release.outputs.release_name }}"
Expand Down
Loading