Skip to content

Commit

Permalink
Merge pull request #155 from ThatsMrTalbot/fix/olm-git-push-flags
Browse files Browse the repository at this point in the history
fix(olm-publish): git -c flag needs to be before command
  • Loading branch information
cert-manager-prow[bot] authored May 31, 2024
2 parents 57debeb + a8d7fe0 commit 4d2c5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/olm-bundle/01_mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ olm-publish-$(subst /,-,$1): olm-bundle | $(NEEDS_GH) $(bin_dir)/scratch
$(YQ) -i '.cert_project_id = "$(olm_project_id)"' operators/$(olm_project_name)/ci.yaml &&) \
git add operators/$(olm_project_name)/ci.yaml && \
git commit -m "operator $(olm_project_name) ($(VERSION))" && \
git push -f -c "credential.helper=!$(GH) auth git-credential" origin $(VERSION) && \
git -c "credential.helper=!$(GH) auth git-credential" push -f origin $(VERSION) && \
{ $(GH) pr create --repo $1 --head $(firstword $(subst /, ,$2)):$(VERSION) --title "operator $(olm_project_name) ($(VERSION))" ||:; }

olm-publish: olm-publish-$(subst /,-,$1)
Expand Down

0 comments on commit 4d2c5db

Please sign in to comment.