Skip to content

Commit

Permalink
Fix branch push command in release pipeline
Browse files Browse the repository at this point in the history
Fix url and branch name getting passed as single argument to
git push
  • Loading branch information
piyush-garg authored and chmouel committed Aug 25, 2023
1 parent db7355a commit 8584c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tekton/release-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
git add release.yaml release.k8s.yaml docs/content/VERSION docs/content/ALLVERSIONS pkg/params/version/version.txt
git commit -m "Release yaml generated from {{repo_url}}/commit/{{revision}} for release ${version}"
echo git push "https://git:\[email protected]/{{ repo_owner }}/{{ repo_name }} refs/heads/${target}"
git push --force "https://git:[email protected]/{{ repo_owner }}/{{ repo_name }} refs/heads/${target}"
git push --force https://git:[email protected]/{{ repo_owner }}/{{ repo_name }} refs/heads/${target}
set -x
git checkout -
done
Expand Down

0 comments on commit 8584c25

Please sign in to comment.