Skip to content

Commit

Permalink
fix: force checkout from main (#4554)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 22, 2024
1 parent 06c98ce commit dcbbb27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ create-next-release: prepare-next-release create-prs-next-release
.PHONY: update-labels
update-labels:
echo ' - name: backport patches to $(PROJECT_MAJOR_VERSION).$(PROJECT_MINOR_VERSION) branch' >> ../.mergify.yml
echo ' conditions:' >> ../.mergify.yml
echo ' - merged' >> ../.mergify.yml
echo ' - label=backport-$(PROJECT_MAJOR_VERSION).$(PROJECT_MINOR_VERSION)' >> ../.mergify.yml
echo ' conditions:' >> ../.mergify.yml
echo ' - merged' >> ../.mergify.yml
echo ' - label=backport-$(PROJECT_MAJOR_VERSION).$(PROJECT_MINOR_VERSION)' >> ../.mergify.yml
echo ' actions:' >> ../.mergify.yml
echo ' backport:' >> ../.mergify.yml
echo ' assignees:' >> ../.mergify.yml
Expand Down Expand Up @@ -69,7 +69,7 @@ create-branch-major-minor-release:
.PHONY: prepare-next-release
prepare-next-release:
git checkout main
git checkout -b $(BACKPORT_BRANCH_NAME)
git checkout -b $(BACKPORT_BRANCH_NAME) main
$(MAKE) update-labels
$(MAKE) git-diff
if [ ! -z "$$(git status -s)" ]; then \
Expand Down

0 comments on commit dcbbb27

Please sign in to comment.