We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7eb23e commit 39464b0Copy full SHA for 39464b0
.github/workflows/hotfix.yml
@@ -60,7 +60,12 @@ jobs:
60
61
- name: Cherry-pick hotfix commit into dev
62
run: |
63
+ # Get the latest hotfix commit from main
64
HOTFIX_COMMIT=$(git log -1 --pretty=format:"%H")
65
+ # Fetch the dev branch so it is available locally
66
+ git fetch origin dev:dev
67
+ # Check out dev
68
git checkout dev
69
+ # Cherry-pick the commit from main to dev
70
git cherry-pick $HOTFIX_COMMIT
71
git push origin dev
0 commit comments