We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3d5eb5 commit a2bc550Copy full SHA for a2bc550
1 file changed
.github/workflows/release-reusable.yml
@@ -158,7 +158,14 @@ jobs:
158
159
git add -A
160
git commit -m "chore(release): version packages"
161
- git push origin "HEAD:${{ inputs.branch }}"
+ BRANCH="${{ inputs.branch }}"
162
+ git fetch origin "${BRANCH}"
163
+ git rebase "origin/${BRANCH}"
164
+ if ! git push origin "HEAD:${BRANCH}"; then
165
166
167
+ git push origin "HEAD:${BRANCH}"
168
+ fi
169
170
- name: Tag release
171
if: steps.auto_changeset.outputs.has_changeset == 'true' && github.actor != 'github-actions[bot]'
0 commit comments